Pihole - Not connecting to Internet after change DNS

I reinstalled Pi-hole after rebooting the raspberry pi zero with a new image (Raspbian), and I kept the same configuration on both the router and the pi, but when I try to connect to the router again it does not give me internet access. Keep the same settings that I had before where if everything worked correctly, that is, I had an internet connection on all my devices. Also none of the devices appear to me as clients.

Expected Behaviour:

There should be Internet when I change the DNS server to the pihole ip in the router. Even when it kept the same settings as when everything was working properly.

Actual Behaviour:

There isn't internet when I change the primary and only DNS server in the router.

Debug Token:

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

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 10.0.0.9

Hi, the output is:

Server: 10.0.0.9
Address: 10.0.0.9#53

Name: pi.hole
Address: 10.0.0.9
Name: pi.hole
Address: fe80::2253:b4d4:3a11:5bf8

And this command?

nslookup pi.hole

Server: 10.0.0.9
Address: 10.0.0.9#53

Name: pi.hole
Address: 10.0.0.9
Name: pi.hole
Address: fe80::2253:b4d4:3a11:5bf8

The same, the raspberry I use for pi-hole is the only one connected apparently

Both these commands indicate that Pi-hole is being used as the DNS server by the client, the debug log shows that Pi-hole is working normally as well.

Perhaps I don't fully understand the problem you are experiencing.

Factory reset my router, and configure my pc to use the pi-hole dns but when I change it I don't have internet access, it doesn't even appear as a client in the pi-hole interface. I'm using ethernet.

For example my phone is using Pi-hole as the main dns and it does not appear as clients nor is it blocking anything, nothing appears in the queries.

Solved, It was the port, I was blocking the ports with UFW.

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