Pushing DNS records to name servers via CLI

jkirker

Verified User
Joined
Nov 22, 2012
Messages
124
I have about 700 domain pointers attached to a domain. I've edited the .db files in /var/named/ directly using sed.

They all look good, and they also look good and load properly through the DA UI.

However, when I push the changes to the cluster of name servers via below command line, the changes are not being reflected.
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue

Any suggestions?

Thanks,
John
 
Did your sed line include something that would change the SOA serial to a higher number? Otherwise it will not be seen as a change and not be pushed over.
If it did include it, did you also restart bind?
 
I just deleted various lines. File timestamps changed. All of my changes to domains pushed, however pointers info did not.
 
Thanks, I just edited the files on the name servers. All good. Figured it was maybe a bug that it was updating the domains, but not the pointers. May be something for the boys to look into.
 
Back
Top