I have a Raspberry Pi DHCP client named arcade02 rigged for running MAME in demo mode 24/7.
It doesnt appear in the Pi-hole "Network overview" somehow.
Below on the arcade02 client:
$ uptime
20:59:06 up 70 days, 18:02, 2 users, load average: 2.26, 2.74, 2.93
$ sudo dhcpcd --test
[..]
wlan0: leased 10.0.0.219 for 3600 seconds
[..]
new_dhcp_server_identifier='10.0.0.2'
[..]
new_host_name='arcade02'
new_ip_address='10.0.0.219'
$ ip -br link show wlan0
wlan0 UP e8:94:f6:xx:xx:xx <BROADCAST,MULTICAST,UP,LOWER_UP>
Renewing the lease on the client:
$ sudo dhcpcd --rebind
sending signal HUP to pid 457
Below on the Pi-hole host thats doing DHCP for my LAN (another RPi):
$ uptime
20:51:09 up 29 days, 16:46, 3 users, load average: 0.20, 0.12, 0.10
$ sudo tail -F /var/log/pihole/pihole.log | grep DHCPACK
[..]
Jul 31 19:56:50 dnsmasq-dhcp[4960]: DHCPACK(eth0) 10.0.0.219 e8:94:f6:xx:xx:xx arcade02
$ sudo grep e8:94:f6:xx:xx:xx /etc/pihole/dhcp.leases
1753988739 e8:94:f6:xx:xx:xx 10.0.0.219 arcade02 01:e8:94:f6:xx:xx:xx
$ ip neighbor show 10.0.0.219
10.0.0.219 dev eth0 lladdr e8:94:f6:xx:xx:xx STALE
$ dig +short @localhost arcade02
10.0.0.219
But no records:
$ sudo pihole-FTL sqlite3 --column --header /etc/pihole/pihole-FTL.db "SELECT * FROM network WHERE hwaddr = 'e8:94:f6:xx:xx:xx'"
$
Any clues?