1
Tutorials and FAQs / Re: HOWTO - Redirect all DNS Requests to Opnsense
« on: November 05, 2024, 11:01:31 am »
What does your server use in terms of DNS protocol? HTTPS, QUIC, TLS...?
If it's using DNS over HTTPs for example, you're going to have to block 8.8.8.8:443 (both UDP and TCP).
If you want to go down that route, there are lists of public DNS over HTTPS/TLS providers, such as https://public-dns.info/nameservers.txt, which you then need to configure as FW aliases.
For DNS over TLS or QUIC it's simpler, you simply block anything to port 853 or 8853 (no point in redirecting, the certificate would not match).
If it's using DNS over HTTPs for example, you're going to have to block 8.8.8.8:443 (both UDP and TCP).
If you want to go down that route, there are lists of public DNS over HTTPS/TLS providers, such as https://public-dns.info/nameservers.txt, which you then need to configure as FW aliases.
For DNS over TLS or QUIC it's simpler, you simply block anything to port 853 or 8853 (no point in redirecting, the certificate would not match).