Friday, 17 April 2020

Moving DHCP over to Pi hole

With my 8 years old DS213 passing away few days ago I thought I move DHCP also over to Pi hole.

For some reason the static DHCP config file was not created even after installing dnsmasq from Add / Remove Programs on my good old Rasperry Pi. So I had to create it as follows:

pi@raspberrypi:~ $ sudo touch /etc/dnsmasq.d/04-pihole-static-dhcp.conf
pi@raspberrypi:~ $ sudo chmod 644 /etc/dnsmasq.d/04-pihole-static-dhcp.conf
pi@raspberrypi:~ $ sudo chown root:root /etc/dnsmasq.d/04-pihole-static-dhcp.conf

In the end installing dnsmasq over Pi hole was not a good idea so I reinstalled Pi hole and now I am getting static leases as expected...

Bonus is that VAP4641 shows proper names now too so keeping DHCP and DNS together seems to make that trick!




No comments:

Post a Comment