Hi there,
I'm currently trying to write a script to automatically move DNS zone files from an old FreeBSD BIND server over to cPanel and I'm trying to figure out the individual moving parts. I understand that I need the cPanel default comments in the top of the zone file in order for the imported zone file to be visible in the Zone Editor in cPanel/WHM (which works, they do show up), but the imported zone doesn't seem to 'propagate' down to our (cPanel) nameservers.
I've incremented the serial as you would with a manual change on BIND, but it still doesn't push the changes down to the nameservers themselves. They're visible in cPanel/WHM, but in order for the changes to be recognised by the nameservers I need to add a record in the Zone Editor and then remove it.
It seems to me like the Zone Editor does something when you change a record to 'push' the changes and this is what I need to replicate in my script once the zone file has copied from the old server to cPanel. It doesn't seem to be rndc reload and I can't find the code used for the Zone Editor in order to reverse engineer it myself.
Can anyone help with this? All insight is good insight
I'm currently trying to write a script to automatically move DNS zone files from an old FreeBSD BIND server over to cPanel and I'm trying to figure out the individual moving parts. I understand that I need the cPanel default comments in the top of the zone file in order for the imported zone file to be visible in the Zone Editor in cPanel/WHM (which works, they do show up), but the imported zone doesn't seem to 'propagate' down to our (cPanel) nameservers.
I've incremented the serial as you would with a manual change on BIND, but it still doesn't push the changes down to the nameservers themselves. They're visible in cPanel/WHM, but in order for the changes to be recognised by the nameservers I need to add a record in the Zone Editor and then remove it.
It seems to me like the Zone Editor does something when you change a record to 'push' the changes and this is what I need to replicate in my script once the zone file has copied from the old server to cPanel. It doesn't seem to be rndc reload and I can't find the code used for the Zone Editor in order to reverse engineer it myself.
Can anyone help with this? All insight is good insight