pihole is installed on a dedicated raspberry pi running Raspbian 11 (bullseye). I’ve been using it as DNS server for several years now, and as DHCP since the beginning of the year. So far I’ve never had any major problems – until yesterday.
Expected Behaviour:
- pihole hands out DHCP leases to clients
- pihole resolves domains
Actual Behaviour:
- pihole does not hand out DHCP leases to clients. Well, pihole.log shows lines like the following sometimes, but the client does not receive the lease. (I added a static IP address so I could ssh into the Pi.)
Feb 16 20:05:34 dnsmasq-dhcp[8008]: DHCPDISCOVER(enxb827ebf5014e) 192.168.1.3 b4:2e:99:34:2b:c1
Feb 16 20:05:34 dnsmasq-dhcp[8008]: DHCPOFFER(enxb827ebf5014e) 192.168.1.3 b4:2e:99:34:2b:c1
Feb 16 20:05:34 dnsmasq-dhcp[8008]: DHCPSOLICIT(enxb827ebf5014e) 00:04:af:38:32:5f:39:d8:14:2c:28:31:73:e7:81:75:a4:5b
Feb 16 20:05:34 dnsmasq-dhcp[8008]: RTR-SOLICIT(enxb827ebf5014e)
Feb 16 20:05:34 dnsmasq-dhcp[8008]: RTR-ADVERT(enxb827ebf5014e) fd28:68b:320::
Feb 16 20:05:34 dnsmasq-dhcp[8008]: RTR-ADVERT(enxb827ebf5014e) 2001:470:1f0b:273::
- pihole does not resolve domains. Well, pihole.log shows lines like the following sometimes, but
pihole query ntp.ubuntu.comreturns “Communication error. Is FTL running?”.
Feb 16 19:53:41 dnsmasq[8008]: forwarded ntp.ubuntu.com to 46.182.19.48
Feb 16 19:53:41 dnsmasq[8008]: forwarded ntp.ubuntu.com to 194.150.168.168
Feb 16 19:53:41 dnsmasq[8008]: forwarded ntp.ubuntu.com to 194.242.2.3
Feb 16 19:53:41 dnsmasq[8008]: dnssec-query[DS] ubuntu.com to 194.150.168.168
I have no idea what might have caused all this – the Pi didn’t reboot, there was no upgrade, nada. I did notice that /etc/hosts was missing the line 127.0.1.1 rpi which caused the machine to not be able to resolve its own hostname. I fixed it but the main problem remains.
I’m completely at a loss. It’s probably something extremely stupid, something that I should have seen right away. But I’m just not getting anywhere on my own anymore.
Please help or send cat pictures.
Debug Token:
https://tricorder.pi-hole.net/RuFqQ96E/
Cheers
W
