Pihole set as a DHCP server but doesn't block ads

Expected Behaviour:

I am using pihole as my DHCP server because my router doesn't allow me to change the DNS server (Sagemcom f@st 5670). I am using a raspberry pi zero

The issue is that when i go test it, it doesn't block ads, but it look like my devices on my network are using the correct DNS (

Debug Token:


Whilst waiting for an expert to give guidance you could try a little test. With a client that you think is using pihole, disable ipv6 and see if the situation changes. Your router could be advertising itself as a ipv6 dns server.

This will temporarily reset the nameserver on the Pi to bypass Pi-Hole DNS.

sudo nano /etc/resolv.conf

Edit the nameserver line to nameserver or your preferred third party DNS service, save and exit


pihole -d

and upload the debug log.


i disabled IPv6 on my desktop and nothing, still the same.

Your router is the DHCP server for your network, not Pi-hole.

*** [ DIAGNOSING ]: Setup variables

The router is advertising many external DNS servers, not your Pi-hole:

      renewal-time: 1800 ( 30m )
      rebinding-time: 3150 ( 52m 30s )
         domain-name: "home"
      --- end of options ---

should i just do a reinstall? In theory to use the pihole as a DHCP server i just have to enable it and disable the one on the router? or should i also set up the DNS option in settings of Pihole?

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