This script fetches hosts from phpipam and adds them to your zonefiles and then reloads bind if changes have occured.
- Clone the repo to you machine.
- Copy config.py.dist to config.py and update the config values to suit.
- In templates put your zone files (minus the hosts the script adds from phpipam) but replace the serial with
${serial}
. - Add build_dns.py to you crontab.