Subversion Repositories sysadmin_scripts

Rev

Blame | Last modification | View Log | Download | RSS feed

Just some utilities to validate our DNS. With more than a few domains and 
clients adding and removing them on a random basis, it is easy to get
stale entries.

These scripts are designed to use a list of domains, or gather them
from a BIND installation, then call whois (nicely) to get the
information on each one.

whois output is saved in a cache directory so we don't beat the whois 
servers to death, and 15 seconds are paused between each call.


# To check for bad domains
./checkBind.pl | ./checkDomains.pl | grep BAD > baddomains

# To refresh the cache
rm -fR cache/*
./checkBind.pl | ./checkDomains.pl