Remove DHCP leases over webGUI


Hello there,

A couple days ago, I turned on the DHCP service on my pihole.
It worked pretty well. But one device wouldn’t take my reserved address, so i removed the lease manually from the leases file. Then it took the reserved address.
To cut a long story short, it would be cool if we could remove/revoke the leases over the website.


This would be useful.


Very much yes! I took dhcp away from my router, but I feel like dhcp on the pihole should have more of the dhcp related features that other devices have.

Overall, I think the settings page could use some TLC. With the newer features added, it’s starting to look cluttered.

I think that the “Settings” button in the left-had pane should expand like the “Tools” and “Disable” buttons.

There should then be multiple options.
“DHCP” should be it’s own page,
“DNS Settings”, and
"Administration" just move

  • The non-editable “Networking”
  • “Web User Interface” options
  • “System Administration”
  • “Pi-hole Teleporter”

Doing that would leave room on the pages to get rid of the “expanding plus buttons”, and make the interface nicer to use in general.


I’m definitely on board with deathbybandaid’s idea. For users that take advantage of the DHCP functionality, it’s a very important feature of the system, and having to go to the generic “Settings” page and expand a couple of menus makes it feel buried away.

Also, would love the ability to release leases via the GUI.


Good idea! The DHCP part should get a little more priority, cause its an important service in a network. An rearrangement of the frontend would be nice.


Pi-Hole, a DNS forwarder, is the gateway drug to getting a better router. :smiley:


Wake-On-Lan would be awesome


That would be interesting, (rant-mode enabled)

Imagine building a custom box “Gateway device” (router)

  • 24 Ethernet ports
  • dhcp
  • WOL
  • Long term data stats
  • openvpn server built in
  • Site-to-site VPN
  • a webui access to speedtest-cli
  • dns adblocking
  • firewall
  • integration with dynamic dns services like No-IP
  • nginx reverse proxy
  • an internal service that pings various network equipment and notifies when down. Kinda like this program
  • CUPS print server
  • Some sort of RDP Gateway

I guy can dream, eh?


My NAS can do all that (and much more) but with only 4 eth ports :wink:


Any other inputs/critics for this feature request?


This gets my vote 2. I am running Pi-Hole on my Synology NAS, and it replaces the Synology SHCP server which has this functionality and I would find it very useful to have the ability to delete leases available.


Voted on this, DHCP definately deserves its own config page !


The was a community submitted effort to separate the config pages a while back, however it appears go have gone stale…


a shame, it looks /looked promising… implementing this might not be a huge job, most of the nitty-gritte seems to have been taken care of.


True. We aim to focus on stability first, sexy features later. Something like this is actually a larger undertaking than it first appears, as it would involve a lot of smaller changes under the hood to make sure it works correctly. That said, we’re not dismissing it just yet!