Hello cypher100,Thank you very much, exactly what I was looking for! Just one question, how can I see that it is working correctly? Because when I use 8.8.8.8 as manual DNS server everything works (as expected) but I want to see that it is really working in the Logs or somewhere else.Thank you!
How would this work on ipv6? I tried to mimic the NAT rules for ipv6, however then the DNS queries fail completely
from chris42QuoteHow would this work on ipv6? I tried to mimic the NAT rules for ipv6, however then the DNS queries fail completelyExcellent question what would be the destination for IPv6 or what is the equivalent to 127.0.0.1 for IPv6?would it be ::1 for the loopback like 127.0.0.1 is for IPv4 loopback?
Normally ::1 is the IPv6-localhost-Address. I must configure the IPv6-Address of the Interface (created an Alias) instead of ::1 in the NAT Rule and then it works. The clients resolves DNS-Records even if using his own IPv6-DNS-Servers.
This tutorial will show you how to force all DNS querys to go through Opnsense router regardless of DNS servers specified on the local system. This will redirect anything going through 53 to the router itself.
Quote from: Cypher100 on July 26, 2018, 03:16:37 amThis tutorial will show you how to force all DNS querys to go through Opnsense router regardless of DNS servers specified on the local system. This will redirect anything going through 53 to the router itself.Hi Cypher,will this procedure also work for an DNS-Server, e.g. Pi-Hole, within my environment when I fill in the IP of Pi-Hole instead of 127.0.0.1 to the NAT rules?Regards Chris
Quote from: ChrisChros on December 28, 2020, 09:23:27 amQuote from: Cypher100 on July 26, 2018, 03:16:37 amThis tutorial will show you how to force all DNS querys to go through Opnsense router regardless of DNS servers specified on the local system. This will redirect anything going through 53 to the router itself.Hi Cypher,will this procedure also work for an DNS-Server, e.g. Pi-Hole, within my environment when I fill in the IP of Pi-Hole instead of 127.0.0.1 to the NAT rules?Regards ChrisHave the same question.