Hello,
We had to change the hostname on one of our servers (in fact we migrated all accounts and only afterwards we have migrated the server name as well) but the server name inside DNS zones remained unchanged.
I am referring to records like:
_caldav._tcp.domainname 300 IN SRV 0 0 2079 servername.
I intend to do it like this:
cd /var/named; sed -i 's/wrong_server_name/correct_server_name/g' *.db
And restart named (bind).
But I can see there are 4 .db files for each domain (caches and all).
I assume that I should only change the .db files located directly in /var/named. Is this correct? Should I do anything else (besides backups I mean)?
Thanks!
We had to change the hostname on one of our servers (in fact we migrated all accounts and only afterwards we have migrated the server name as well) but the server name inside DNS zones remained unchanged.
I am referring to records like:
_caldav._tcp.domainname 300 IN SRV 0 0 2079 servername.
I intend to do it like this:
cd /var/named; sed -i 's/wrong_server_name/correct_server_name/g' *.db
And restart named (bind).
But I can see there are 4 .db files for each domain (caches and all).
I assume that I should only change the .db files located directly in /var/named. Is this correct? Should I do anything else (besides backups I mean)?
Thanks!