DNS Problems on a Cpanel Machine
For some reason, after changing this particular machine to a secondary DNS, I can't get the /scripts/dnstransfer to transfer the zone files to /var/namedThis is the output for the script:
bash: /scripts/dnstranfer: No such file or directory
root@server17 [~]# /scripts/dnstransfer
Rebuilding DNS Zones List from master server .....
stdin: is not a tty
named.conf 100% |***********************************************************
***********************************************| 72790 00:00
ndc: reload command successful
Rebuild Complete
But, nothing inside /var/named gets transferred unless I explicitly restart named:
/etc/rc.d/init.d/named stop
/etc/rc./dinit.d/named start
I am pulling my hair out. If anyone knows how to fix this, please help !
Thanks.