Pi wont return queries from router

Hi Guys,

Expected Behaviour:

My Setup is ubuntu 18.04 on a VM running off Xenserver

Actual Behaviour:

Pi-hole is returning queries if i use the machine's ip directly as DNS but if i point my router's dns to it then it refuses query.

C:\Users\Jasvijay>nslookup
Default Server:  Pi-Hole
Address:  192.168.2.1

> google.com
Server:  Pi-Hole
Address:  192.168.2.1

*** Pi-Hole can't find google.com: Query refused

exit

C:\Users\Jasvijay>nslookup google.com 192.168.2.80
Server:  Pi-Hole
Address:  192.168.2.80

Non-authoritative answer:
Name:    google.com
Addresses:  2607:f8b0:400b:809::200e
          172.217.164.206

My Router's dns is currently 192.168.2.80

can you send a debug token

Debug log removed by moderator and made private.

Debug report added, thank you for quick reply.

When you upload a debug log, we only need the token posted. This allows selected members of the Pi-hole team to access your Pi-hole log, and only for 48 hours. This protects your privacy, as the debug log may have personal information in it (email address, browsing history, etc.).

Your debug log is normal. The 24 hour history shows only 71 queries from 3 clients, so it appears that the router is configured incorrectly to send DNS requests to Pi-hole or to provide the Pi-hole IP as DNS server in the DHCP handshake with clients. Or perhaps the VM is not configured to pass this port 53 traffic to Pi-hole.

From the same windows clients, 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

so, instead of figuring this out i disabled dhcp on my router and created a dhcp server along with pi hole and pointed the default dns as its ip, fixed all issues :slight_smile: thank you

Are you aware that Pi-hole has a powerful embedded DHCP server that will also ensure host names are available on the network, etc., itself?

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