DHCP Reservation massive update script
-
Hello,
I've searched a lot for ways to massively update/add DHCP reservations in pfSense, because I often have to update dozens of entries.
Unfortunately I have not found any solution, except to download and edit the XML configuration file (which I find impractical and dangerous), so I decided to write a PHP script (for use in the PHP shell) to massively add and modify DHCP reservations (and the linked DNS entries, if the DNS registration of DHCP reservetion is active).I'd like to share it with all of you, because I imagine it may be a not uncommon need.
Check it out on my github repository:
https://github.com/EdoFede/pfSense-massiveDhcpReserveBye,
Edoardo
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.