IP change and named

Discussion in 'General' started by smartcall, Dec 3, 2007.

  1. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    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.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. smartcall

    smartcall ISPConfig Developer ISPConfig Developer

    Thank you very much!
    This is the advice I've been looking for.
     

Share This Page