I have added an DNS Interface to my Server Manager. The nameservers pulls the configuration via http.
The nameserver interface can handle:
- primary nameserver only
- secondary nameserver only
- pri/sec nameserver
- hidden primary
Get the Bind configuration:
http://servermgmt.demo.brachium-system.net/nameserver/getconfig/ns1.brachium-system.net/bind/config
Get the Bind zone configuration:
http://servermgmt.demo.brachium-system.net/nameserver/getconfig/ns1.brachium-system.net/bind/zone
The nameserver has to split the zone configuration and save it.
You can test it:
http://servermgmt.demo.brachium-system.net/domains
user: admin
pass: admin
Source code is available on
github.