I can sponsor the feature, per my mockup! How does $250 sound? Just add a little red trashcan button next to the copy button, press it, and bam, DHCP lease cleared for that entry?
An update midway: We implemented a new method in FTL to unlink existing leases without the need to restart the DNS/DHCP server (pi-hole/FTL//887dc2). This ensures uninterrupted operation. Next steps are implementing the button on the API (shouldn't be too hard) and final testing. Stay tuned!
Awaiting code review and approval, this feature is very likely to be included in the next Pi-hole release (we're loosely targeting something in December).
You may want to check it does what you're expecting, first.. Donations are a nice, although secondary concern
If you're running something on the dev branch already then you can test out by running:
pihole checkout ftl new/unlink_DHCP_lease
pihole checkout web new/unlink_DHCP_lease
If you're not already running on the dev branches, please be aware that doing so will make going back to master more difficult because of some breaking differences in the database schema (until we release the next version). But if you want to do it, take a backup of your /etc/pihole directory and then run pihole checkout dev, followed by the two commands above for checking out the individual branches. Then, when/if you want to switch back from dev, run pihole checkout master and restore your backed up /etc/pihole directory.
(or just do a fresh install on a VPS if you're worried about data loss)
I'm fine waiting for it to release on stable, appreciated! As long as the UI element is there (red trashcan button) and it does what you'd expect (removes the lease when pressed), I'm good!
Thanks for all your hard work on this project @DL6ER@PromoFaux -- and let me know where to send the PayPal!