fully hosted domains

MtK

Verified User
Joined
Aug 2, 2007
Messages
405
Hey,
is there a way (maybe a simple script) to check if all the domains of a certain client (or all the domains listed inside DA) are really pointing to the server.
I mean, using the server's DNS and not just pointing with an A RECORD.



I know this can be checked manually for a single domain by using dig, but I'm talking about a mass-check of many domains (all client's or all clients').
 
Create a script that grabs all your domain names (best way is probably to parse the DNS zone files, and then prints out a list of domain names followed by NS records then A records.

Jeff
 
Create a script that grabs all your domain names (best way is probably to parse the DNS zone files, and then prints out a list of domain names followed by NS records then A records.

Jeff
yes, but having 100s of clients summing up to 100s of domains is not really realistic to go over that script's output just to find out the "not fully-hosted" domains.

I need a significantly smaller output with just those domains (I'm guessing we have less than 10).
 
I guess I don't know what it is you want. You can further process the list output of my previous suggestion to you, if you know what your'e looking for.

Jeff
 
Hey,
is there a way (maybe a simple script) to check if all the domains of a certain client (or all the domains listed inside DA) are really pointing to the server.
I mean, using the server's DNS and not just pointing with an A RECORD.



I know this can be checked manually for a single domain by using dig, but I'm talking about a mass-check of many domains (all client's or all clients').

Write a script that pulls the domains into an array, then does a foreach on the array doing a whois lookup, then greps for your servers nameservers. If the grep is negative then simply go to the next one. If positive then output the domain name either to the screen or to a file.
 
Write a script that pulls the domains into an array, then does a foreach on the array doing a whois lookup, then greps for your servers nameservers. If the grep is negative then simply go to the next one. If positive then output the domain name either to the screen or to a file.
yeah, the logic is pretty straight forward...
 
Back
Top