Simple generator of zone files for Bind.
- Put all files to any place you like
- Setup nginx to work with app (see nginx.conf)
- Make sure that you have Mjolicious installed
- Add generate.pl to crontab
To control your api instances run:
sh /path/to/servrun.sh -c <start|stop|restart> [-e <development|production|test>]
By default environment parameter is
To change it on start or restart pass
-e parameter as showed in example above.
How it works
- API script recieve requests such as domain name or cname record and put data in database.
- Cron script read data from db, add records to main bind configuration file and generate dns zone files.
- Add methods for all record types
undersub for api key check