Sources urls should respect ipv6_servers = false
option.
#2078
Replies: 4 comments
-
I actually had a service crash most likely because of this (dnscrypt-proxy is self compiled from HEAD): |
Beta Was this translation helpful? Give feedback.
-
If a source URL is unreachable, no matter why, the proxy is expected to try another URL in the list. What exact error do you get when starting the proxy from the command line? |
Beta Was this translation helpful? Give feedback.
-
The problem was that service sometimes crashed. Now I figured out why. It's running on raspberry pi, where there is no hw clock. So if it is started before actual time is set, it always crashed with error saying something like So if bad url is skipped, this issue is likely not so important anyway, feel free to close. |
Beta Was this translation helpful? Give feedback.
-
Unless the cache is stored in a location such as /tmp that doesn't persist after a reboot, the old cache should be used if up-to-date information cannot be fetched. If nothing is accessible, it doesn't crash. The service stops, because it doesn't have any valid servers list. In servers list, Waiting for the system clock not be in 1970's is something we could add to the netprobe step. though. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible for the
sources
section to respectipv6_servers = false
option? I mean not to use ipv6 urls ifipv6_servers = false
.dnscrypt-proxy/dnscrypt-proxy/example-dnscrypt-proxy.toml
Lines 670 to 688 in c467e20
dnscrypt-proxy/dnscrypt-proxy/example-dnscrypt-proxy.toml
Line 64 in c467e20
Beta Was this translation helpful? Give feedback.
All reactions