Using Pi-Hole as DHCP Server, but DNS still not working

The issue I am facing:
At a high level, I am unable to have my requests go through the DNS.

Method 1. I've tried setting the DNS setting on my router to point to my Pi's IP address, to no avail.
Method 2. I've also tried disabling DHCP on my router, and enabling it on my Pi-Hole, to no avail.

Method 3. The only thing that seems to work is if I manually configure the DNS setting on each client. If I do this, I can see the queries start to log, and the ads get blocked. However, I want to be able to enable it as the only DNS, so that any device that successfully connects to the router, will go through the Pi-Hole as DNS.

If it's additional context - if I try Method 1 or Method 2, I am unable to hit http://pi.hole/admin, but I am able to connect to it if I use Method 3.

Details about my system:
PiHole Machine: Raspbery Pi 3b+
Router: Spectrum

What I have changed since installing Pi-hole:
See "Method 1" and "Method 2" above.


Open to any suggestions! I know it's similar to other questions, but I've tried the answers in other questions (Method 1 and Method 2) and no dice.

Please upload a debug log and post just the token that is generated after the log is uploaded by running the following command from the Pi-hole host terminal:

pihole -d

or do it through the Web interface:

Tools > Generate Debug Log

Debug Token: 7z9i6omkbe

Your debug log shows that Pi-hole is working normally. In particular, it has processed the following DNS traffic in the past 24 hours:

   [2021-07-06 12:53:54.669 2117M] Imported 996 queries from the long-term database
   [2021-07-06 12:53:54.669 2117M]  -> Total DNS queries: 996
   [2021-07-06 12:53:54.669 2117M]  -> Cached DNS queries: 130
   [2021-07-06 12:53:54.669 2117M]  -> Forwarded DNS queries: 695
   [2021-07-06 12:53:54.669 2117M]  -> Blocked DNS queries: 115
   [2021-07-06 12:53:54.669 2117M]  -> Unknown DNS queries: 48
   [2021-07-06 12:53:54.669 2117M]  -> Unique domains: 285
   [2021-07-06 12:53:54.669 2117M]  -> Unique clients: 12

From a client that you believe should be connected to the Pi-Hole for DNS, from the command prompt or terminal on that client (and not via ssh or Putty to the Pi), what is the output of

nslookup pi.hole

Server:		2001:1998:f00:1::1
Address:	2001:1998:f00:1::1#53

** server can't find pi.hole: NXDOMAIN

This is not the IPv6 address of the Pi-hole, so the DNS queries are going somewhere other than to Pi-hole.

Look at all your router settings and see where this IPv6 IP is coming from.

I checked through the router settings and found a few things of interest.

This tab displays some info on the IPv6 connection. What's annoying/odd is that it reads out a DNS Address, but if I go to the LAN section, there is a subsection called DHCP. Within that DHCP subsection, if it's enabled, I can enter a DNS option. But since it's disabled, I assumed the DNS was disabled as well.

In a separate section, I found a setting that looks like this under LAN:

Maybe I need to change this setting to "No"? Guessing my Router is using a secondary DNS that I didn't know about?

If I select "No", a form appears where I am to enter the IPv6 DNS address. Guessing I need a different address format here, but unsure of which one.

Hey! Changed this setting to be the IPv6 address of my Pi, and everything seems to be working now!

This was the address that the Pi-Hole setup originally gave me, that I stored away but forgot about, as I was only focused on the IPv4 address.

Thanks for the help!


Solution on Spectrum Router

  1. Open web browser and go to http://192.168.1.1 (or router address)
  2. Login with router credentials
  3. Go to Advanced
  4. Under the "Network" tab, click on IPv6
  5. Under "IPv6 DNS Setting", change "Connect to DNS Server Automatically" to "No"
  6. For "IPv6 DNS Server 1" enter the IPv6 address that the Pi-Hole setup gave at the end of the setup.
  7. Click apply.

Router should reboot and your DNS should now be hooked up properly.
For this to work, I had to also disable DHCP on my router, and enable it on my Pi-Hole settings.

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