Pi-hole not working (not recieving replied from forwarded queries)

Expected Behaviour:
Pi Hole should get the response back from DNS server (google/OpenDNS) . So that I can access the Internet from other devices*

Actual Behaviour:
Pi Hole is NOT processing the response back from DNS server (google/OpenDNS) . as per logs its able to Forward the request , but no response is shown in the recent query log

Debug Token:
I've generated a debug log through the web interface but whenever it runs, it says there was an error uploading the log. Pi_Log_20200119_1810.txt (17.6 KB)

From your debug log:

[i] Default IPv4 gateway: 192.168.1.1
192.168.0.1
   * Pinging 192.168.1.1
192.168.0.1...
[✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] a.optnmstr.com is 0.0.0.0 via localhost (127.0.0.1)
[✓] a.optnmstr.com is 0.0.0.0 via Pi-hole (192.168.1.106)
[✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)

There is a connectivity problem between the Pi and router, and the DNS queries are not getting to the upstream DNS server.

However, 17 hours prior to generating the debug log, Pi-Hole was able to reach an upstream DNS server, so something appears to have changed in that time interval.

*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 328811 Jan 19 18:09 /var/log/pihole.log
   -----head of pihole.log------
   Jan 19 01:00:00 dnsmasq[761]: query[PTR] 1.0.0.1.in-addr.arpa from 127.0.0.1
   Jan 19 01:00:00 dnsmasq[761]: forwarded 1.0.0.1.in-addr.arpa to 1.0.0.1
   Jan 19 01:00:00 dnsmasq[761]: forwarded 1.0.0.1.in-addr.arpa to 1.1.1.1
   Jan 19 01:00:00 dnsmasq[761]: reply 1.0.0.1 is one.one.one.one
   Jan 19 01:00:00 dnsmasq[761]: query[PTR] 1.1.1.1.in-addr.arpa from 127.0.0.1
   Jan 19 01:00:00 dnsmasq[761]: forwarded 1.1.1.1.in-addr.arpa to 1.0.0.1
   Jan 19 01:00:00 dnsmasq[761]: reply 1.1.1.1 is one.one.one.one

Thanks for replying.

Re the connectivity problem between the Pi and the router. I have a tp-link TL-WR940N router. I've changed the DHCP DNS settings to use the Pi as the Primary DNS and i've reserved the IP address for the Pi. Is there anything else I'm missing that is causing the problem between the Pi and the router?
I've set the secondary DNS as without that I'm not able to connect to the internet at the moment.

Any idea why the DNS queries are not getting to the upstream DNS Server?

DHCP_Settings

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