Neill's Blog

  • HowTos
  • Personal
  • Recipes
  • Technical
  • Technology

pi.hole dhcp configuration

Published: Sat 18 February 2023
By Neill Cox

In Technology.

tags: pi.hole dhcpd

Pi Hole and static dhcp leases

I get confused every time I try to fiddle with my pi.hole's dhcpd settings.

It's pretty standard dnsmasq under the hood, but I always forget where the config files are.

Leases file

/etc/pihole/dhcp.leases

Config

root@pihole:/etc/pihole# ls -l /etc/dnsmasq.d/
-rw-r--r-- 1 root root  528 Jan  2 14:01 02-pihole-dhcp.conf         <=== general dnsmasq config
-rw-r--r-- 1 root root 1442 Jan  2 14:09 04-pihole-static-dhcp.conf  <=== static leases
Proudly powered by Pelican, which takes great advantage of Python.

The theme is based on Smashing Theme, thanks!

The background comes from code developed by tmrDevelops