Hi everyone,
3 networks in 3 locations connected over wireguard vpn.
10.0.3.0/24 - thisdomain.asia
10.0.2.0/24 - thisdomain.us
192.168.1.0/24 - thisdomain.com
10.0.3.0/24 - thisdomain.asia, pfsense, DNS is pfsense resolver
10.0.2.0/24 - thisdomain.us, pfsense, DNS is pfsense resolver
192.168.1.0/24 - thisdomain.com, pfsense, Active Directory (with DNSSEC)
Have made 2 configuration changes.
- In the GUI, under DNS, Local DNS, I pointed each domain to the correct DNS server
- I edited the dnsmasq.conf file in /etc by adding the following lines but it didn't seem to do anything. The change in the GUI resulted in the requests going to the right server.
server=/thisdomain.com/192.168.1.24
server=/thisdomain.us/10.0.2.1
server=/thisdomain.asia/10.0.3.1
I open the logs in pihole.log and can see the requests being directed to the correct DNS server. However the only server that is responding with the answer is my Domain Controller. The 2 remote DNS resolvers on those 2 PFSense boxes are not sending a response.
Is it that I have to create separate conf files for each domain?
Is it that pfsense and or pi-hope isn't configured correctly so the communication is breaking down?
If I don't have the pi-hole in place, my pfsense box at 192.168 successfully redirects DNS requests to the 2 remote locations. It's only the pi-hole that can't seem to get response from the remote DNS resolvers.
Thank you for your support