Why Pi-hole DNS request timed out

nslookup - 192.168.150.195
DNS request timed out.
    timeout was 2 seconds.
Default Server:  UnKnown
Address:  192.168.150.195

> ibm.com
Server:  UnKnown
Address:  192.168.150.195

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out

BUT

nslookup - 8.8.8.8
Default Server:  dns.google
Address:  8.8.8.8

> ibm.com
Server:  dns.google
Address:  8.8.8.8

Non-authoritative answer:
Name:    ibm.com
Addresses:  2600:140a:1000:191::3831
          2600:140a:1000:18b::3831
          184.86.194.187

I can go to 192.168.150.195 and login to see my pi-hole web interface no problem.
Pi-hole and web-interface at latest update levels.
But how come I get DNS timeout when nslookup is using pi-hole?

image

Check your Pi-hole host machine's firewall settings to allow for Pi-hole's required ports.

I believe I have all the necessary ports required by Pihole running on a RPi 3B+

While the SS command will show you ports being used it won't tell you whether or not the firewall is blocking traffic. If you are running something like UFW you will still need to open those ports.

my Pihole has been working before and it's an install with default options.
in any case, it appears that firewall is allowing all traffics.

Please upload a debug log and post just the token URL 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

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

Your Pi-hole is configured for its host's eth0 network interface, but your host is using a name of enx... instead.

You should either try to disable Raspberry Pi OS's predictive network interface names via raspiconfig, or run pihole -r with Reconfigure to adjust Pi-hole for the correct interface.

running pihole -r with Reconfigure seems to have done the trick. thank you for your help Bucking_Horn

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