I recently changed routers, and my PiHole is no longer blocking adds
Old Set Up
I was using a PFsense router with an ubuiquiti AP, PiHole hosted on an atomic pi SBC
Current Set Up:
Same as above, but the PFsense router has been replaced with an Asus RT-N66U, with the wireless bands turned off.
I have the PiHole assigned to a static IP address, and that IP is set as the DNS server for the router.
Problem
Since changing over routers ads are no longer being blocked, PiHole would indicate traffic is routing through it, and claims to ahve blocked a small number of queries, but I am seeing adds where I previously did not. I reran the configuration tool with pihole -r to ensure it is using the ethernet connection with the correct IP address and gateway.
Asus routers are somewhat infamous of adding their own IP to the list of DNS servers as distributed via DHCP - it would seem so is yours:
*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
Scanning all your interfaces for DHCP servers
* Received 300 bytes from enp1s0:192.168.1.1
Offered IP address: 192.168.1.244
DHCP options:
Message type: DHCPOFFER (2)
dns-server: 192.168.1.244
dns-server: 192.168.1.1
router: 192.168.1.1
--- end of options ---
Depending on your router model and firmware, you may be able to address this by supplying Pi-hole's IP in every available DNS slot in your router's DHCP settings.
More often though, this wouldn't suffice (for Asus routers) - you'd have to switch to a custom firmware like Merlin that would allow you to exact control over those settings (which may not be an olption, depending on your knowledge).
Alternatively, you could lalso consider to disable your router''s DHCP server and enable Pi-hoe's.