Adguardhome: v0.92 | Windows 2012 R2 | Cannot connect to tls://1.1.1.1

Created on 31 Dec 2018  路  16Comments  路  Source: AdguardTeam/AdGuardHome

v0.92 Windows binary
AGH working fine, but UI is ONLY showing blocked traffic stats and data.

Steps to reproduce

  1. unpack and run v0.92 Windows binary

Expected behavior

Main page UI and Query Log should show ALL DNS traffic

Actual behavior

Main page UI and Query Log ONLY shownig filtered traffic

Screenshot:

applicationframehost_2018-12-31_11-03-45
agh092querylog

Your environment

| Description | Value |
| -------------- | ------------ |
| Version of AdGuard Home server:| v0.92
| How did you setup DNS configuration:| DHCP on Windows Server 2012 R2
| If it's a router or IoT, please write device model:| n/a
| Operating system and version:| Windows Server 2012 R2

All 16 comments

Please run AdGuardHome.exe -v so that it printed the debug output and show what's there.

Also, could you please look hover the (?) icon to see what rule/filter blocks the request?

Verbose console output here - https://pastebin.com/i8wWF1uD

Blocks are being performed by the AdGuard and hpHosts filters.

hmm... actually, my initial testing was flawed.
Now that I've set the AGH Windows box as the ONLY DNS server on my testing PC nothing is working. The above verbose log seems to show that AGH is blocking as per filters, but all remaining good DNS requests are failing on upstream.

Yeah, for some reason it fails to establish an encrypted connection with Cloudflare:
https://github.com/AdguardTeam/dnsproxy/issues/2

I can't reproduce it on my Windows VM though, that's weird

What if you use some other upstreams?

For instance:

tls://one.one.one.one
tls://dns.adguard.com

Yep - they work!

I must say this is super-weird:) You're on Windows Server 2012 R2 right?

Correct.
With all Windows Updates installed (currently 2018-12 security updates)

Got it, thank you! We'll try to reproduce it on this Windows version then. It might be a known golang bug, though.

Well, good thing is that we have a workaround that doesn't compromise performance, security, or capability!

Also confirming that
tls://1dot1dot1dot1.cloudflare-dns.com
works fine.

This is very likely because your ISP blocks packets to 1.1.1.1.

You can confirm this by running ping 1.1.1.1. You should be getting ping replies but if your ISP blocks, you won't get any.

If that's the case, please contact your ISP to fix routing to 1.1.1.1.

You will also be unable to open https://1.1.1.1 in your browser as well, regardless of AdGuardHome running or not.

EDIT: Using cloudflare dns by hostname works because every hostname resolves to both 1.1.1.1 and 1.0.0.1. Your ISP doesn't block 1.0.0.1 so it gets chosen.

Nothing to do with ISP blocking.
I have another Windows box running AGH v0.91 for Linux under WSL on Win10 using tls://1.1.1.1:853 and tls://1.0.0.1:853 just fine.

Alright. My apologies for jumping to conclusions.

It really does seem like a bug that can be fixed.

This is a bug of golang and there's no easy way to fix it from our side. @admitrevskiy has filed it to golang repo: https://github.com/golang/go/issues/30985

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ameshkov picture ameshkov  路  3Comments

alexpovel picture alexpovel  路  3Comments

ammnt picture ammnt  路  4Comments

TXC picture TXC  路  3Comments

xenio picture xenio  路  4Comments