Authority for subdomains

Barry Margolin barmar at alum.mit.edu
Tue Apr 5 02:50:31 UTC 2005


In article <d2scfm$2nr3$1 at sf1.isc.org>,
 The.Tanster at gmail.com (The Tanster) wrote:

> Barry Margolin <barmar at alum.mit.edu> wrote:
> 
> > In article <d2s32c$1gvc$1 at sf1.isc.org>,
> >  The.Tanster at gmail.com (The Tanster) wrote:
> > 
> > > How can one set up a Master DNS server for a subdomain that one is
> > > running on a private network to be authoritative for that subdomain only
> > > (i.e. have a nslookup or dig query return an "authoritative" instead of
> > > a "non-authoritative" answer when looking up a host only within that
> > > subdomain)?  Can it be done in the named.conf through some keyword?
> > > I've looked through the O'Reilly DNS & BIND book by Cricket Liu et al
> > > and I can't find any information on this.  Thanks in advance.
> > 
> > zone "sub.domain.com" {
> >   type master;
> >   file "subdomain.db";
> > };
> > 
> > and then put the subdomain data in subdomain.db.
> 
> Unfortunately, I've already done that but both nslookup and dig *STILL*
> continue to give me a "non-authoritative" answer.

Then you've probably got a syntax error in the zone file.  Check your 
syslog for the error message, which includes the line number that it 
failed on.  Or use named-checkzone.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list