DNS queries are not answered

Hello,

I have tried setting up my pi-hole for the last couple of days. However, I'm really struggling with getting DNS queries resolved. It works perfectly on the raspberry pi which is running pi-hole. All other devices are not able to resolve domains.

My Windows device is correctly configured and DHCP from the router correctly advertises the raspberry pi as the DNS server. I have also used Wireshark in order to check if the DNS queries are lost anywhere. The queries are sent from the Windows device and received on the eth0 interface of the raspberry pi. However, no reply is ever sent back.

I have tried using my raspberry pi as the DHCP server instead of my router. This produces exactly the same error. It all works with connecting users and pi-hole assigning IP addresses, but it fails whenever a DNS query is received.

I would really appreciate any help on the matter, please reach out if any more details is required. Thanks!

Debug Token:

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

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 flurry.com

nslookup flurry.com 192.168.0.138

And then from the Pi terminal, what is the output of the following:

sudo grep flurry.com /var/log/pihole/pihole.log

Thanks for the reply,

Here is my Windows 11 device ipconfig with the RPI as both DNS servers:

nslookup of pi.hole:

nslookup of flurry.com:

nslookup of flurry.com specified with RPI address:

Logs from RPI showing no queries from the Windows 11 device. (it is worth mentioning that these entries in the log are from an earlier nslookup made directly from the RPI, which is working correctly):

Fixed it, ufw blocked outgoing DNS packets. Need to specify both inbound and outbound rule when adding port 53 to whitelist.

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