dnscrypt-proxy should check every IP associated with the same DoH server #2914
nihil-admirari
started this conversation in
Potential issues
Replies: 1 comment 2 replies
-
![]() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Output of the following commands:
./dnscrypt-proxy -version
./dnscrypt-proxy -check
./dnscrypt-proxy -resolve example.com
How do we replicate the issue?
If multiple IPs are provided for the same DoH server (https://noads.joindns4.eu/dns-query in this case, see https://www.joindns4.eu/for-public)
and
server_names
mention them allthen, on a system without IPv6 connectivity,
dnscrypt-proxy
sometimes picksdns4eu-noads-ipv6
ordns4eu-noads-ipv6-alt
at startup. When that happens,dnscrypt-proxy
says that no server is reachable:If
dnscrypt-proxy
were to pick one of IPv4 addresses, it would declare all servers to be reachable, despite the lack of IPv6 connectivity:bootstrap_resolvers
are empty, but they don't help sinceThe issue is not reproducible with DNSCrypt servers. With DNSCrypt servers, IPv6 ones simply timeout at startup, and only IPv4 ones remain:
Expected behavior (i.e. solution)
I want to be able to ship the same config to both IPv6-enabled and IPv6-lacking servers without modifications. When multiple IPs are associated with the same DoH server, they should be tried in sequences until a working one is found, and only after that they are to be declared unreachable.
Beta Was this translation helpful? Give feedback.
All reactions