Using Bind9 i wish to be able to update both zones and the records of the zones without interrupting the service, as in restarting.
I've used nsupdate
to control the records but now I'm looking into the zones.
rndc
got functionality to add zones but it breaks nsupdate
as i've understood due to fileformat so it might not be an option. It does however offer the 'reconfig' option that updates new or deleted zones without restarting bind. So i'm thinking about writing a custom service that writes the zone information to the named.conf and then the template file in /zones/ with the records. Then it runs rndc reconfigure
to update the zone and finally i can use nsupdate
to change/update the records.
How does this solution sound, are there any better ways of doing this?
Thanks in advance for any help!