lthn-app-vpn
lthn-app-vpn copied to clipboard
Use doh-proxy for DNS queries
Would be great to implement doh-proxy so all DNS queries could be redirected to HTTPS server so it would be encrypted.
I use DNS over TLS with stubby on my exit nodes and cache requests locally with dnsmasq. Adding to squid.conf use only 127.0.0.1 DNS (localhost) and block port 53 for outgoing communication in firewall. So DNS requests are encrypted.
Info Arch Linux https://wiki.archlinux.org/index.php/Stubby
General info https://stafwag.github.io/blog/blog/2018/09/09/dns-privacy-with-stubby-part1-gnulinux/
In squid.conf use dns_nameservers directive
Would be great to add something like this into docker image. Can you send some more info here please? Thank you.
See edit above :-)
I have now tried this one. https://github.com/MatthewVance/stubby-docker
It combines stubby and unbound with docker-compose. Default setup gives DNS over TLS using Cloudflare DNS and when combined with unbound we get local DNS cache. I like it!