I have a newbie question concerning DNS. i have a dns server on my network. we'll just call it's host name dns. i need to do a lookup of all the hostnames it has in its tables using either the dig or host command. i can do a single lookup like this
host hostname.com dns
where hostname is the hostname i want to lookup and dns is the dns host name. this command assumes u know what host names the server already has in its tables though.
am i going about this the right way by using either dig or host to obtain all the host names it has in its tables on the dns? if this is not the right course what could i do to obtain this information? thanks experts. oh and i read the man pages, but i could not figure it out if they had some flag u could set.