Shortly we are moving office to new location and I would like to get some advice how to do it correctly since I cannot afford to be offline more that few hours. On old location 1. Change TTL from 3600 to 300 in directly table dns_rr and dns_soa (there are 1879 record), ispconfig/tools/resync 2. Change DNS for nameservers while still on old location to new IP's 3. Wait 2 hours 4. Power off servers and move them to new location In the meantime our registrar has to change IP of nameservers On new location 1. Update all dns_rr records with new IP, ispconfig/tools/resync 2. Wait for everything to synchronize If there is better solution or if you think I made some mistake, please suggest
One more question : does DNS server does full sync after ispconfig/tools/resync command ? In other words, which action triggers DNS to pull changed records from database ?
This should be ok. A resync forces DNS records to be written out from database to BIND config files. The zone gets a new serail every time it gets changed and BIND will notify slave servers when the zone changes.
Till, What about the mysql db update login between the slaves and master. They are in the format [email protected] (X is a number) If you move a multiserver system over to a new subnet will that cause you to manually update every single login ID on the Master server to the IP addresses on the new subnet?
Yes, you must change this in the master mysql server and in the /etc/hosts files of master and slaves. The easiest way is to use the user editor of phpmyadmin, as the permissions of these users are fine grained and therefore spread over many records and tables in mysql.mysql database. Alternatively, you can try to run an ISPConfig update on the slave and let the updater reconfigure permissions in master database.