Dashboard shows only localhost, some clients dont work

Setup:
I have a raspberry pi zero w that I have setup with raspbian lite, this is running with a static ip address of 192.168.2.10.
Have a Asus router that is configured to hand out 192.168.2.10 as the DNS server. The option to advertise the router as a additional DNS server is set to false.
I see clients getting the pi hole's ip address as the DNS Server.
Example output from ipconfig /all on a windows machine:

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Qualcomm Atheros QCA9377 Wireless Network Adapter
Physical Address. . . . . . . . . : XX-XX-XX-48-XX-XX
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.2.247(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 16 February 2021 22:56:48
Lease Expires . . . . . . . . . . : 17 February 2021 22:56:48
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DNS Servers . . . . . . . . . . . : 192.168.2.10
NetBIOS over Tcpip. . . . . . . . : Enabled

Expected Behaviour:

Clients andriod, windows laptops are able to resolve dns queries and their corresponding data shows up on the admin dashboard.

Actual Behaviour:

  1. On the Dashboard I see only localhost.
  2. Some clients are failing to resolve names.
    Example of a nslookup from the same windows laptop form which I had pasted the ipconfig output.

C:\Users\user1>nslookup google.com 8.8.8.8
Server: dns.google
Address: 8.8.8.8

Non-authoritative answer:
Name: google.com
Addresses: 2404:6800:4009:800::200e
142.250.76.206

C:\Users\user1>nslookup google.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.2.10

DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out

C:\Users\user1>

This windows laptop does show Internet is not connected even though I explicitly whitelisted www.msftncsi.com and msftncsi.com .
Similarly a moto andriod phone doesnt shows connectivity failed but when I ask it to continue to be connected and turn off mobile data, things still work on the andriod device.

A Xiaomi MIUI device continues to work as though nothing is wrong. But even this device doesnt show up on the admin panel which leads me to a suspicion that its using a diff DNS Server. Note, I the private dns functionality in MIUI is off.

Debug Token:

https://tricorder.pi-hole.net/00aamfvo5h

Would appreciate any pointers to figure out whats happening here.
Have restarted the pi hole, flushed network table, restarted dns resolver, flushed logs. All of these did not help.

This is what the dashboard shows


*** [ DIAGNOSING ]: Networking
[✗] No IPv4 address(es) found on the eth0 interface.

[i] Default IPv4 gateway: 192.168.2.1
   * Pinging 192.168.2.1...
[✗] Gateway did not respond. 

   PIHOLE_INTERFACE=eth0

Received 300 bytes from wlan0:192.168.2.1

   Feb 16 22:46:49 dnsmasq[779]: warning: interface eth0 does not currently exist

You configured Pi-hole to listen on eth0 but this interface is not present/configured. It seems that your device is connected by wifi (wlan0). Run pihole -r and choose reconfigure

Thanks, this was it.
Had messed up the static ip configuration. I did it outside the pi hole setup.
By this time I had format the sd card.
But for future reference for folks who might stumble upon this.
Just let the pihole setup script guide you through setting up the static ip.

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