Hi,
I've encounterd a problem with cpanel DNS and solved it in a non treditional way.
I'd like your comments on the way.
The config:
2 cpanel server, primary and secondary DNS.
The problem:
when pressing " Synchronize DNS Records With Primary Nameserver " on the secondary, I'm getting Scp failed!
However /scripts/dnstransfer when run from commad line works.
scp from command line also works.
i.e. trust relationship configured currectly.
The solution:
change the file /scripts/dnstransfer
and replace the line:
system("scp "Protocol 1,2" $dnsmaster:/etc/named.conf /etc/named.conf.dnstranfer")
to
system("scp "Protocol 1,2" $dnsmaster:/etc/named.conf /etc/named.conf.dnstranfer 2>/dev/null")
Only problem with that is that each cpanel update I'll have to eedit the file (wrote to cpanel about that and hope they'll change it soon)
Your comments?
Cheers.