How to configure a sub-domain?

Nate Campi nate at wired.com
Mon Dec 17 15:30:11 UTC 2001


On Mon, Dec 17, 2001 at 06:56:25AM -0800, Pete Ehlke wrote:
> * Joseph S D Yao <jsdy at center.osis.gov> said, on [011217 05:38]:
> > 
> > Actually, if I am reading Nate's post correctly, it WILL work.  He is
> > not proposing creating a separate zone.  He is proposing having the
> > child domains in the SAME zone [and same zone file] as the parent
> > domains.  This is legal in all versions of BIND.
> > 
> Hrmmmm.
> 
> Obviously I read it the other way ;) Nate? What was your intention?

I meant Pete's interpretation:

1) parent zone has no NS records for child zone
2) child zone defined/declared *only* in named.conf (or included file)

BIND 8 will happily serve a fully functional subzone *if* the parent and
child live on the same nameserver. I have domains that served millions
of web hits a day that were configured this way.

Of course I fixed it as fast as I could type when I found these. I do
NOT condone this setup, but I wanted other hostmasters to know about
the possibility that it may exist in the zones they inherit. It may help
them troubleshoot problems with their zones.

> Anyway, I think we're in violent agreement. Child domains inside parent
> zone file is just fine. Child domains in separate zones, without NS
> records in the parent zone, *will* bite you at some point.

Everyone agrees with that (or so I really hope). I didn't get bit, I
caught this, but someone in a hurry or less experienced could easily
have been bitten.
-- 
Nate Campi | Terra Lycos DNS | SF UNIX Operations | (415) 276-8678

This is supposed to be a happy occasion. Let's not bicker and argue
about who killed who."
   -From Monty Python's Holy Grail



More information about the bind-users mailing list