Can't add new fixed DHCP leases after apt-upgrade

Ran apt-upgrade a few days ago and I’m wanting to have fixed leases for my IOT devices. I tried saving a fixed lease today and pihole will not save it.

Expected Behaviour:

When I add a DHCP fixed lease and hit save, it saves the fixed lease

Actual Behaviour:

Hitting Save does not save the DHCP fixed lease

Debug Token:

https://tricorder.pi-hole.net/k8h0e7sgg2!

What are the outputs of the following commands:

ls -lh /etc/pihole/dhcp.leases

cat /etc/pihole/dhcp.leases

ls -lh /etc/pihole/dhcp.leases
-rw-r--r-- 1 pihole pihole 1.1K Apr 13 15:45 /etc/pihole/dhcp.leases
cat /etc/pihole/dhcp.leases
1555615463 fc:0f:e6:a1:77:46 192.168.1.150 * 01:fc:0f:e6:a1:77:46
1555770346 6c:40:08:b9:80:c0 192.168.1.112 Megans-MBP 01:6c:40:08:b9:80:c0
1555793128 88:b4:a6:76:99:65 192.168.1.122 * 01:88:b4:a6:76:99:65
1555764630 e8:06:88:ce:0c:76 192.168.1.5 macpro 01:e8:06:88:ce:0c:76
1555751458 cc:2d:21:3c:10:90 192.168.1.11 nova-2 01:cc:2d:21:3c:10:90
1555751460 cc:2d:21:3c:10:98 192.168.1.10 nova-1 01:cc:2d:21:3c:10:98
1555782611 b8:3e:59:36:93:4d 192.168.1.104 * *
1555751491 68:9a:87:5a:3d:07 192.168.1.102 amazon-e32346cc4 01:68:9a:87:5a:3d:07
1555751496 b0:fc:0d:52:94:84 192.168.1.22 office-firestick *
1555751473 74:75:48:07:22:e4 192.168.1.20 guest-firestick *
1555792645 40:4e:36:8b:46:37 192.168.1.100 * 01:40:4e:36:8b:46:37
1555751471 88:b4:a6:3b:5c:8d 192.168.1.116 android-5c6647d821e01f0e 01:88:b4:a6:3b:5c:8d
1555730216 e4:3e:d7:6b:ed:11 192.168.1.144 LGwebOSTV 01:e4:3e:d7:6b:ed:11
1555755879 44:61:32:e5:24:27 192.168.1.114 * 01:44:61:32:e5:24:27
1555767701 00:1c:7b:e2:42:c2 192.168.1.101 ricoh-printer *
1555751469 cc:9e:a2:a8:56:31 192.168.1.21 echo-dot 01:cc:9e:a2:a8:56:31

Might give the pihole a reboot this morning to see if this clears the issue up.

What is the output of cat /etc/dnsmasq.d/04-pihole-static-dhcp.conf

dhcp-host=E8:06:88:CE:0C:76,192.168.1.5,macpro
dhcp-host=CC:2D:21:3C:10:90,192.168.1.11,nova-2
dhcp-host=CC:2D:21:3C:10:98,192.168.1.10,nova-1
dhcp-host=74:75:48:07:22:E4,192.168.1.20,guest-firestick
dhcp-host=CC:9E:A2:A8:56:31,192.168.1.21,echo-dot
dhcp-host=B0:FC:0D:52:94:84,192.168.1.22,office-firestick

I suppose I could manually add entries to this file and restart dnsmasq

The reboot did nothing but it was worth a shot.

That is your static lease file. It’s not clear why entries are not being saved to it. I would check permissions on that file and see if they are the same as /etc/pihole/dhcp.leases

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