Hello,
I change the hostname of:
server.domain1.com to server.domain2.net
It is OK.
And I change the DNS's of:
ns1.domain1.com to master.domain2.net
ns2.domain1.com to slave.domain2.net
It is OK too.
Now, I need change the nameservers of all files of /usr/named/domains.com.db
First, I make the backup of all files of /usr/named/domains.com.db
And, I try use this:
and
But after this, all websites returned this error:
After this error, I restored the backup of /var/named/
Why ??? I made something wrong ???
If I change the nameservers of /var/named/domains.com.db using WHM - Edit DNS, this error doesn't occurred.
Please, help-me.
Thank you,
Rodolfo.
I change the hostname of:
server.domain1.com to server.domain2.net
It is OK.
And I change the DNS's of:
ns1.domain1.com to master.domain2.net
ns2.domain1.com to slave.domain2.net
It is OK too.
Now, I need change the nameservers of all files of /usr/named/domains.com.db
First, I make the backup of all files of /usr/named/domains.com.db
And, I try use this:
Code:
replace 'ns1.domain1.com' 'master.domain2.net' -- /var/named/*.db
Code:
replace 'ns2.domain1.com' 'slave.domain2.net' -- /var/named/*.db
Code:
403 - Forbidden
You don't have permission to access / on this server.
Why ??? I made something wrong ???
If I change the nameservers of /var/named/domains.com.db using WHM - Edit DNS, this error doesn't occurred.
Please, help-me.
Thank you,
Rodolfo.