1
General Discussion / OPNsense + Pi-Hole Questions
« on: March 17, 2020, 12:08:53 am »
Config -
Under System > Settings > General I have one DNS server, 10.10.10.15 (Pi-Hole)
Unbound is enabled, and everything else is default. Pi-Hole is acting as my DNS and DHCP server and forwarding queries to Cloudflare. All devices on my network are given 10.10.10.15 as their only DNS server. However, when I perform an NSLOOKUP on say, opnsense.org, the answer is received from OPNsense. According to the Pi-Hole dashboard, it is constantly getting queries from my devices. But shouldn't the answer be from Pi-Hole and not OPNsense? I want EVERYTHING on my network to use Pi-Hole for DNS.
Also, on my old UBNT EdgeRouter setup I had a NAT rule that that captured all DNS (53/udp) traffic and forced it to go through Pi-Hole. I'm totally new to OPNsense and even pfSense at that so I'm a little confused on how to make this work. I tried creating my own NAT rule, but I have no idea if it worked.
Under System > Settings > General I have one DNS server, 10.10.10.15 (Pi-Hole)
Unbound is enabled, and everything else is default. Pi-Hole is acting as my DNS and DHCP server and forwarding queries to Cloudflare. All devices on my network are given 10.10.10.15 as their only DNS server. However, when I perform an NSLOOKUP on say, opnsense.org, the answer is received from OPNsense. According to the Pi-Hole dashboard, it is constantly getting queries from my devices. But shouldn't the answer be from Pi-Hole and not OPNsense? I want EVERYTHING on my network to use Pi-Hole for DNS.
Also, on my old UBNT EdgeRouter setup I had a NAT rule that that captured all DNS (53/udp) traffic and forced it to go through Pi-Hole. I'm totally new to OPNsense and even pfSense at that so I'm a little confused on how to make this work. I tried creating my own NAT rule, but I have no idea if it worked.