AdguardTeam / dnsproxy

Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
Apache License 2.0
2.46k stars 249 forks source link

Failed to connect to 1.1.1.1:853 #2

Open ameshkov opened 5 years ago

ameshkov commented 5 years ago

Got the log from here: https://github.com/AdguardTeam/AdGuardHome/issues/500

proxy.(*Proxy).handleUDPPacket(): error handling DNS (udp) request: talking to d
nsUpstream failed, cause: Failed to get a connection from TLSPool to 1.1.1.1:853
, cause: Failed to connect to 1.1.1.1:853, cause: x509: certificate is valid for
 1.1.1.1, 1.0.0.1, 162.159.132.53, 2606:4700:4700::1111, 2606:4700:4700::1001, 2
606:4700:4700::64, 2606:4700:4700::6400, not 1.1.1.1

Might be Windows-specific.

ameshkov commented 5 years ago

I can't reproduce it on my Windows VM though

ameshkov commented 5 years ago

Needs to be tested on Windows Server 2012, not on Win 10.

bzy39 commented 5 years ago

maybe same issue like this one, Stubby.

admitrevskiy commented 5 years ago

I've tested it on Win7, and it really looks like Windows-specific issue Here's the bug report for golang team: https://github.com/golang/go/issues/30985