HOW TO DETERMINE ALL ZONE FILES ON SERVER?

Barry Margolin barmar at genuity.net
Wed Dec 5 19:49:06 UTC 2001


In article <9ulke3$8gs at pub3.rc.vix.com>, Gustave <gustave at lightsign.com> wrote:
>How can I determine all of the domains that a name server is responsible
>for?

grep '^zone' /etc/named.conf

Unless the sysadmin has configured restrictive permissions on the
named.conf file, you shouldn't need root access to do this.

>We are moving some name servers and consolidating others.  I do not have
>root access to all so I want to query the ones that I do not have access
>to to get all records they contain.

If the server allows zone transfers:

dig <domain> axfr @<server>

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list