AdguardTeam / dnsproxy

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

--fallback does not seem to be working. #222

Closed chattytak closed 2 years ago

chattytak commented 2 years ago

/usr/bin/dnsproxy -v -u tcp://8.8.8.8 -f tls://1.1.1.1 -r 0 --cache --cache-size=67108864

Start dnsproxy with parameters as above.

Trial --upstream communication is not possible. The assumption is that it will go to the DNS specified in --fallback, but in reality it continues to use the DNS specified in --upstream.

I don't know if this is related to the problem, but when I get a tcpdump, it is communicating via UDP even though I specified "tcp://". Therefore, we would not notice if the packets are not reaching upstream.

chattytak commented 2 years ago

Sorry, I solved myself. It seems that the configuration was not reloading correctly. Close.