PDA

View Full Version : IP change and named


smartcall
3rd December 2007, 19:01
Sorry, I tend to be annoing sometimes.

I'm in a situation where I have to change my production server's IP addresses.
I host lots of sites and have lots of zones in my server. So I can't just change their IP's from ISPConfig frontend.

My biggest concern is named. I know that I can run update queries on all tables that contain IP addresses and then go and change with sed or perl all the IP's in all config files all over the server. But what happens to the serials in zone files? They will be the same.

Any advice from a person with experience in that will be appreciated.

till
3rd December 2007, 21:19
To update the IP in DNS, change the IP in all dns_* tables, then set status = 'u' for all records in the table dns_isp_dns. If you change now one dns record in the ISPConfig interface, ISPConfig will update all records for you.

smartcall
4th December 2007, 08:39
Thank you very much!
This is the advice I've been looking for.