Authority for subdomains

Barry Margolin barmar at alum.mit.edu
Mon Apr 4 19:33:19 UTC 2005


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.

-- 
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