Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DHCP Reservation massive update script

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 176 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      EdoFede
      last edited by EdoFede

      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-massiveDhcpReserve

      Bye,
      Edoardo

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.