Shifting of DA on another IP

bmahesh

Verified User
Joined
Nov 10, 2006
Messages
20
Hello,
We have DA installed on a.b.c.d ip. along with DNS,APACHE,EXIM ,
but now we want to chage the ip of current DA.
which issue shoule be considered in such case.

Thanks in advance


Thanks,
Mahesh
 
Re:shifting of DA on another IP

This is regading licening, How can change the ip from control panel details. for every domain
e.g.
Name Creator Bandwidth Disk Usage # of Domains Suspended IP
drushtius 9.23 / 700 68.2 / 100 1 / 0 No a.b.c.d
 
Have you read the whole thread??
If you read it carefully, someone on thread have included a link for the info.:)
 
Thanks for replay.
But we don't understand about DNS zone file. Is script change the IP from each zone file



Thanks,
Mahesh
 
I am not sure if the ipswap script stated in the thread also update the zone file since i had not tried them myself.

However if you just want to swap the old ip with a new ip for all dns zone file, you can just run the command under /var/named:

perl -pi -e 's/x.x.x.x/y.y.y.y/' *.db


and it will swap x.x.x.x with y.y.y.y for each zone file under that /var/named directory.

of course, test the command first before acutally using it since i don't know if the command works without problem.

i.e. test it on a single zone file first eg. hello.com

perl -pi -e 's/x.x.x.x/y.y.y.y/' hello.com.db

see if it only changes the thing you want to change
 
Back
Top