Search for domains with DNS hosted elsewhere?
I am migrating my server using the transfer tool. There may be some domains where DNS is hosted elsewhere and an A record points to current IP address. Obviously the migration will break those sites if A Record isn't updated.
Is there a tool to determine which domains have nameservers pointing elsewhere?
-
I am migrating my server using the transfer tool. There may be some domains where DNS is hosted elsewhere and an A record points to current IP address. Obviously the migration will break those sites if A Record isn't updated. Is there a tool to determine which domains have nameservers pointing elsewhere?
I have used this tool, but not recently so not sure if it still works:0 -
Thanks for that. I had already found it earlier today and it is useful to find orphaned domains. But it doesn't do what I am after which is find a domain where the A Record points to my server, but the nameservers are elsewhere. Unless I am missing something :P
Right, that tool would work after the transfer, in the new server...0 -
I have always done that manually, i.e. in WHM -> DNS Functions -> Nameserver Record Report you get a list of all nameservers that are used, and when you click Edit Zones you get a list of domains using those nameservers. Then I make a list of customers that need to be informed. 0 -
I have always done that manually, i.e. in WHM -> DNS Functions -> Nameserver Record Report you get a list of all nameservers that are used, and when you click Edit Zones you get a list of domains using those nameservers. Then I make a list of customers that need to be informed.
I appreciate your suggestions but this doesn't work as a domain may have been automatically added to DNS even though the nameservers are pointing elsewhere. So in the zone file the nameserver will say my server but that won't be the active zone file, that is located where the nameservers are actually pointing.0 -
just check with a bash script quick example below you will want to run for /etc/remotedomains ( users who use remote MX ) as well Note if you have a lot of dead domains (EXPIRED) & you don't want to wait forever for the whois command to time out Just install jwhois and set a timeout It wont be perfect but used in conjunction with Account DNS Check cPanel/WHM plugin you should get most of them #!/bin/bash yes | rm dns domain_list="/etc/localdomains" while read line do name=$line echo "Looking up ${line}..." echo ============ >> dns echo $name >> dns whois $name | grep "Name Server" >> dns sleep 1 done < $domain_list0 -
quietFinn - Do you happen to know of a tool that would work for detecting this on server before the transfer?
123Host - Did you ever find an easy way to determine which domains have DNS hosted elsewhere and/or are using the A Record IP to point their domains to their hosting?
Does anyone know of an easier way to do this? I have to migrate a large number of sites to new servers, and I know there are going to be quite a few that are just using the IP pointing method, and checking all domains manually will add to the already tedious / challenging process.
0
Please sign in to leave a comment.
Comments
8 comments