Replace nameserver

Hi,

We changed one of our slave name servers to a new server (and ip) the old server doesn't exist anymore. I removed the old server from Webmin -> Webmin Severs Index and added the new server. I did the same procedure for Servers -> BIND DNS server -> Cluster Slave Server.

The domainname of the slave remained the same (ns2.youngguns.nl). The IP is changed from 82.94.241.190 to 195.240.3.7.

When I check /etc/named.conf I see some zones with the new ip for also-notify and allow-transfer and some zones with the old ip. How can I change the ip for al zones?

Status: 
Closed (fixed)

Comments

There's no automatic way to make this change, sorry - but you can just edit /etc/named.conf and do a search-and-replace from the old IP to the new, then restart BIND.

Does that work for you?

Oke, that'll do! I was just wondering if I must an automated way to do this.

Sorry, but it doesn't happen often enough for us to automate it yet ..

Automatically closed -- issue fixed for 2 weeks with no activity.