Help no devices will connect to the internet once i enter the dns

Expected Behaviour:

When I change the DNS server on my router it will work like it says on the tin and have add free internet browsing with internet still on

Actual Behaviour:

No devices will connect to the internet at all except the one pi hole is downloaded onto the pi hole admin page is still accessable

Debug Token:

https://tricorder.pi-hole.net/bzqlbqfbo6

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

nslookup pi.hole 192.168.1.153

oh sorry that I was not clear enough the client that is still connected to the internet when I have the pi hole connected with the DNS is the raspberry pi that has pi hole on it connected to Ethernet, even though it is connected to the internet it still gets ads

Post the output of the two commands from the previous reply, and also post the output of the following commands from the Pi terminal:

nslookup pi.hole

nslookup flurry.com 127.0.0.1

1. Server: 8.8.8.8
Address: 8.8.8.8#53

** server can't find pihole: NXDOMAIN

2. 192.168.1.153
Server: 192.168.1.153
Address: 192.168.1.153#53

Non-authoritative answer:
*** Can't find pihole: No answer

3. Server: 8.8.8.8
Address: 8.8.8.8#53

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

4. 127.0.0.1
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: flurry.com
Address: 0.0.0.0
Name: flurry.com
Address: ::

This device is not using Pi-hole for DNS, it is using Google.

You may have mis-typed the command. Pi-hole answered the request, but you want to nslookup for the domain pi.hole (with a period).

This device (different than the first output?) is not using Pi-hole for DNS, it is using Google. If this is the Pi, then edit file /etc/dhcpcd.conf and change the nameserver to 127.0.0.1. You will see an entry like this in that file:

interface eth0
        static ip_address=192.168.0.160/24
        static routers=192.168.0.1
        static domain_name_servers=127.0.0.1

This is the correct answer and shows that Pi-hole is working normally.

I will do more testing when I get back from work my router might have a weird way of putting in dns servers

1.)
nslookup pi.hole 192.168.1.153
Server: 192.168.1.153
Address: 192.168.1.153#53

Name: pi.hole
Address: 192.168.1.153
Name: pi.hole
Address: 2603:6000:8d05:836c:87d7:3763:157a:3b81

2.)
nslookup pi.hole
Server: 8.8.8.8
Address: 8.8.8.8#53

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

Are these commands run on the Pi or on a separate client?

there are on the pi at the moment because I do not have my main computer atm

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