check all dns records for all users?

TestUser

Verified User
Joined
Aug 26, 2011
Messages
222
Hi, im migrating my server to new ISP
i already have changed all DNS records for all users by hand... i know... :)
Now i just want to somehow check all dns records for all users if there is maybe some old records...
How can i do this, so that i dont have to click in DA ?
 
I always do this check via SSH by looking if the old ip is still on the new server in the dns records.
This can be done by a find or grep command for example like this:
Code:
grep -H old.ip.adr.ess /var/named/*.db -R | cut -d: -f1
which will show you all .db filenames in which the old ip is present.
 
@TestUser:

I presume you're referring to a move to a new set of IP#s. Presuming this is what you want toi do, there's a script in the DirectAdmin scripts directory which will change all instances of one IP# to a different IP#.

Jeff
 
Back
Top