Consistently Random DNS Failures

Debug log: https://tricorder.pi-hole.net/kf56iqkm82

Experiencing very frequent DNS resolution errors.

Youre debug log shows that Pi-hole is working. However, your DHCP server (the router) is passing its own IP as the DNS server, and not the IP of Pi-hole. This may not be related to your problem, but it's not the correct response from the DHCP server if you want all your devices to use Pi-hole.

The DHCP discovery also shows a network connectivity issue. This may be related to your problem.

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
   Scanning all your interfaces for DHCP servers
   Timeout: 10 seconds
   
   WARN: Could not sendto() in send_dhcp_discover() (/root/project/src/dhcp-discover.c:223): Network is unreachable
   * Received 300 bytes from eth0:192.168.86.1
     Offered IP address: 192.168.86.173
     Server IP address: 192.168.86.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 192.168.86.1
      lease-time: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 192.168.86.255
      router: 192.168.86.1
      domain-name: "lan"
      dns-server: 192.168.86.1
      --- end of options ---
    
   DHCP packets received on interface wlan0: 0
   DHCP packets received on interface lo: 0
   DHCP packets received on interface eth0: 1

Just confirmed and my router (Google Wifi) is set to use the Pi-hole (192.168.86.2) in its DNS settings. Any suggestions or caveats with regards to Google Wifi to be aware of?

If you run a new debug log and look at the DHCP section, is this the actual DNS that the router is providing to clients?

One thing that I noticed is that the DNS pool on the Google Wifi was 192.168.86.20-.250 and the static IP that I'd set on the Pihole was 192.168.86.2, which was outside the DNS pool. I have adjusted the static IP address to 192.168.86.100 to see if that helps.

Updated debug log:
https://tricorder.pi-hole.net/6mg6lwhph9

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