Pi-hole with pfSense using multiple DNS

Hello; Does anyone know why pfsense uses all dns servers in list under General?
I just got Pi-hole up and added the pi IP as the first DNS member in the list under General and then under my DHCP in pfsense, i have my router(pfsense) IP as DNS
but running DNSleak test is showing my 2nd dns server in the list 8.8.8.8 and in pi, i have Cloudflare as the DNS upstream so i can test and i am seeing both results in the leak test.

I then removed all the DNS servers from the General section in pfSesne and added my pi IP under DHCP\DNS in pfSense and on my pi, i set the upstream to my pfsense router IP. By doing this my domain blocks were not work which tells me i am not hitting my pihole.

If you provide a range of DNS servers, clients can pick any of those at their own discretion.
Pi-hole has to be your network's sole DNS resolver.

Thank you, so with having only one dns server in the list I am worried that if my pi goes down then there goes my DNS for my home.

I also came across dns forwarder and disabled dns resolver and within the forwarder there is an option to query the list in pfsense sequentially and by doing that it seems to respect the order. But I am not sure if this is the method that should be used.

If it makes you feel any better, I've been running Pihole on a RPi 3B+ for many years now (at least 5) as my sole DNS provider, even added Unbound at a later time, and the number of times my RPi/Pihole went down was exactly zero. :slight_smile:

I installed pihole on a LXC container within proxmox and if I reboot prox for any updates, there goes my dns. Was thinking to utilize what I have as I don’t have a raspberry.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.