I've been searching the internet for some kind of script that will utilize dig or similar to dump ALL A, CNAME, MX, TXT, etc. records for a given domain. Is there any way to retrieve all of the records and IP addresses without knowing the actual subdomains to query? For example, if I just know "mydomain.c om" is there any way to find the A and MX records (and the IPs they point to) for mail.mydomain.c om programatically ?
My goal is to automate a backup of all the records for a domain before performing a registrar transfer so I can recreate the records identically afterwards.
Does anyone know of an existing tool (or could provide a bit of guidance for a new shell script) that can manage this?
Thanks in advance!
My goal is to automate a backup of all the records for a domain before performing a registrar transfer so I can recreate the records identically afterwards.
Does anyone know of an existing tool (or could provide a bit of guidance for a new shell script) that can manage this?
Thanks in advance!
Comment