[CentOS] Dig question

Thu May 11 12:17:12 UTC 2006
Paul Heinlein <heinlein at madboa.com>

On Thu, 11 May 2006, Tom Brown wrote:

> bit general linux this one but using dig is it possible to get a 
> list of everything in the zone? Presume this is if the network you 
> are on is allowed transfers from the bind server but if i am not??

If the DNS server allows transfers, then

   dig yourdomain.com axfr

If not, then you can try reverse mapping the known IPv4 address space 
using dig's -x option, but you'll never catch all the CNAMEs or 
duplicate A records.

-- Paul Heinlein <heinlein at madboa.com>