List all DNS records in a domain using dig? My company runs an internal DNS for “mycompany.com”There is a machine on the network that I need to find, but Ive forgotten its name. If I could see a list, it would probably jog my memory.How can I list all of the domain records for “mycompany.com”?

Answer:

Try:

dig -tAXFR mycompany.com

This may or may not work. Many DNS servers will deny a DNS Zone Transfer like this. For more information, see How the AXFR protocol works

via internal dns – List all DNS records in a domain using dig? – Server Fault.

Annunci