Pihole not resolving DNS

Expected Behaviour:

Fairly new to all this, but I've installed Pihole in a Docker container running on Ubuntu server on a Rasberry PI 5. After redirecting DNS in my router to the fixed IP of Pihole, I'm unable to resolve domain names.

Actual Behaviour:

DNS not resolving

Debug Token:

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

Your debug log shows that Pi-hole is working on the outward facing IP of the Docker container:

*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] skutecznyautokomis.pl is NOERROR on lo (127.0.0.1)
[✓] skutecznyautokomis.pl is NOERROR on eth0 (10.13.100.111)
[✓] doubleclick.com is 142.251.168.113 via a remote, public DNS server (8.8.8.8)
   Mar  6 15:59:28 dnsmasq[49]: query[A] skutecznyautokomis.pl from 10.13.100.111
   Mar  6 15:59:28 dnsmasq[49]: gravity blocked skutecznyautokomis.pl is 0.0.0.0

Please provide additonal details of what is not working.

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

I also note that your DHCP server (the router) appears to be distributing the router IP for DNS, not the IP of the Pi-hole:

*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 6 seconds)
   Scanning all your interfaces for DHCP servers and IPv6 routers
   Timeout: 6 seconds
   
   Error while sending Router Solicitation on eth0: Network unreachable
   * Received 300 bytes from 10.13.100.1 @ eth0
     Offered IP address: 10.13.100.90
     Server IP address: 10.13.100.1
     Relay-agent IP address: N/A
     BOOTP server: (empty)
     BOOTP file: (empty)
     DHCP options:
      Message type: DHCPOFFER (2)
      server-identifier: 10.13.100.1
      lease-time: 86400 ( 1d )
      renewal-time: 43200 ( 12h )
      rebinding-time: 75600 ( 21h )
      netmask: 255.255.255.0
      broadcast: 10.13.100.255
      dns-server: 10.13.100.1
      router: 10.13.100.1
      --- end of options ---
   
   Received 1 DHCP (IPv4) and 0 RA (IPv6) answers on eth0

I've manually configured the DNS on my primary Internet connection on my router to use a public DNS so that I can still reach my router from outside if pihole would stop working. I've configured the individual VLANs to use the pihole DNS.

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