No internet connection after changing router DNS setting

Please follow the below template, it will help us to help you!

Expected Behaviour:

I followed the main guide to set up Raspian Buster Lite on a Raspberry Pi 3B+. Started up the Pi and connected it to modem/router via ethernet. Everything installed just fine. Moved on to setting up the router. Set a static IP for the PI. Set RaspberryPi IP address as DNS server IP in Netgear Genie for my C7500 modem/router. Internet should be accessable on all devices and Pihole showing queries.

Actual Behaviour:

After changing DNS setting, lose all internet access. Pihole still shows queries. I have spent the last week going through similar posts and trying different things and can't get anything to work. At this point i just hope i am missing something small and obvious.

Debug Token:

gkj1w7revm

The Pi has some connectivity issues. From your debug log:

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

But, in the 24 hours prior to running the debug log, the following DNS traffic was processed by the Pi-Hole. Something appears to have changed in the past 24 hours.

   [2020-01-08 23:48:21.088 615] Imported 22554 queries from the long-term database
   [2020-01-08 23:48:21.089 615]  -> Total DNS queries: 22554
   [2020-01-08 23:48:21.089 615]  -> Cached DNS queries: 496
   [2020-01-08 23:48:21.089 615]  -> Forwarded DNS queries: 21773
   [2020-01-08 23:48:21.089 615]  -> Exactly blocked DNS queries: 185
   [2020-01-08 23:48:21.089 615]  -> Unknown DNS queries: 100
   [2020-01-08 23:48:21.089 615]  -> Unique domains: 299
   [2020-01-08 23:48:21.089 615]  -> Unique clients: 8
   [2020-01-08 23:48:21.089 615]  -> Known forward destinations: 4

Your debug log also shows some problems connecting to your upstream DNS servers:

 Jan  8 00:00:02 dnsmasq[27737]: forwarded 8.6.7.3.3.0.4.8.3.c.0.d.5.e.4.e.0.0.1.5.0.0.8.e.0.8.d.2.4.0.6.2.ip6.arpa to 1.0.0.1
   Jan  8 00:00:02 dnsmasq[27737]: forwarded 8.6.7.3.3.0.4.8.3.c.0.d.5.e.4.e.0.0.1.5.0.0.8.e.0.8.d.2.4.0.6.2.ip6.arpa to 1.1.1.1
   Jan  8 00:00:02 dnsmasq[27737]: forwarded 8.6.7.3.3.0.4.8.3.c.0.d.5.e.4.e.0.0.1.5.0.0.8.e.0.8.d.2.4.0.6.2.ip6.arpa to 2606:4700:4700::1001
   Jan  8 00:00:02 dnsmasq[27737]: forwarded 8.6.7.3.3.0.4.8.3.c.0.d.5.e.4.e.0.0.1.5.0.0.8.e.0.8.d.2.4.0.6.2.ip6.arpa to 2606:4700:4700::1111
   Jan  8 00:00:02 dnsmasq[27737]: reply error is SERVFAIL

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

Through trial and error and i found setting an secondary DNS server for my router restores internet (i usually use 1.1.1.1). I assume because it starts using it instead of the PI but not sure. Here is the result with just the PI set in the DNS settings

DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: fe80::7ad2:94ff:fe8f:4eca

DNS request timed out.
timeout was 2 seconds.
Name: pi.hole
Address: 192.168.0.30

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