On 30/04/2023 20:42, Justin wrote:
Hello devs
in order to use DOH/DOT, a proxy upstream is configured, when dnsmasq
enables use-stale-cache, some upstream may return error when dnsmasq
tries to refresh the record from upstream after stale cache is sent to
client.
i reported the issue here in dnsproxy project, as this is the DOH proxy
i am currently using. however i've tried many other Go/Rust DOH proxy (
namely doh-client, dns-over-https, dnss, cloudflared) , they all return
error when dnsmasq tries to refresh the record.
https://github.com/AdguardTeam/dnsproxy/issues/328
<https://github.com/AdguardTeam/dnsproxy/issues/328>
only reproducible : if the requesting client is macOS and the upstream
is a DOH proxy, Linux does not have this issue. using a udp upstream
like 1.1.1.1 does not have this issue either.
hope you could take a look at the issue posted.
I think I've found and fixed the problem, but I don't have a macOS
machine to test with, nor have a I configured a DOH proxy, so I'd
appreciate it if you could re-run your tests and see if it works with
the patch in place.
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=d774add784d01c8346b271e8fb5cbedc44d7ed08
Thanks for the very useful bug report.
Cheers,
Simon.
--
Regards
Justin He
--
Regards
Justin He
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss