List all the dns records in a domain using dig?
My company runs an internal DNS for mycompany.example
There's a machine on the network i need to find but i forgot 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.example
?
Best Answer
The short answer is to your specific question of listing cnames is that you can't without permission to do zone transfers (see how to list all cname records for a given domain? ).
That said, you can use dig to list the other records by doing.
dig +nocmd yourdomain.example any +multiline +noall +answer