IP Replace [migrating servers]
Hi guys,I have 'minimal' 60 servers that we're migrating! Updating Nameserver IPs manually through WHM is NOT an option. Every client (reseller) has 2 custom Nameservers, 2 IPs. I want to be able to replace/update these IPs from within the shell.
ie. replace thisip thatip -- /etc/* /var/named/* /usr/local/apache/conf/httpd.conf
Could someone please tell me the step's I'de need to take in order to simply Modify 2 existing Nameserver IPs - from /etc/nameserverips ?
I would eventually like to automate the process, but if you could please explain to me the steps of modifying Nameserver IPs - manually and to also tell me which files need to be modified - this would go a LONG way!
I am asking what files are associated.
ie.
/etc/ips
/etc/domainips
/etc/ipaddrpool
/etc/nameserverips
/etc/named.conf
/usr/local/apache/conf/httpd.conf
===
What *other* files need to be modified?
Could I simply cycle through /var/named/* /etc/*/ /etc/* with a replace <newip> <oldip> -- *
Basically, my question is: which files needs to be modified?