I’ve recently dragged all of my DNS records from Site5. It only took me six years to finally get off that godawful hosting service. In retrospect, keeping a better track of all DNS records would not have wasted time. Then again, I would not be a sysadmin if I wasn’t tremendously lazy.
Having gone through this DNS ordeal, I decided to keep better records. Tracking SLDs – igoroseledko.com, igoros.com, etc. – is no biggie, as I don’t have many of those. The real pain in the neck is all the CNAMEs. In the ideal world, you could do AXFR from your DNS provider. Realistically, AXFR would require a premium DNS service with secondary DNS and all added expense and complexity that comes with such a setup.
My solution was to maintain a text file containing a list of SLDs, subdomains, and other records I created. Here’s an example:
igoroseledko.com www.igoroseledko.com mail.igoroseledko.com
And then, I wrote a script that would go through this list of records and pull all the details from the authoritative DNS servers. The resulting CSV file looks something like this:
Record,TLD,SLD,3LD,4LD,Type,TTL,Value igoroseledko.com,com,igoroseledko.com,none,none,A,600,72.94.59.26 igoroseledko.com,com,igoroseledko.com,none,none,NS,3600,ns31.domaincontrol.com igoroseledko.com,com,igoroseledko.com,none,none,NS,3600,ns32.domaincontrol.com igoroseledko.com,com,igoroseledko.com,none,none,SOA,3600,600 www.igoroseledko.com,com,igoroseledko.com,www.igoroseledko.com,none,CNAME,3525,igoroseledko.com
The script is below; you can also get it from my GitHub page.
Experienced Unix/Linux System Administrator with 20-year background in Systems Analysis, Problem Resolution and Engineering Application Support in a large distributed Unix and Windows server environment. Strong problem determination skills. Good knowledge of networking, remote diagnostic techniques, firewalls and network security. Extensive experience with engineering application and database servers, high-availability systems, high-performance computing clusters, and process automation.