How to configure a sub-domain?

Ronan Lucio ronan at melim.com.br
Mon Dec 17 16:43:33 UTC 2001


Hi Nate,

I´m sorry, I have configured like another explanation, the mail that
name said "Those who know me have no need of my name".

Thank you,
Ronan

> Ummm, uh oh.
>
> Ronan, you're doing this just for testing, right? I hope I was clear
> that this is not the correct way to do it.
>
> My post was a warning that such an error might exist in zones that
> function fine - and to look out for them (to correct them if/when they
> are found).
>
> Maybe I should just shut up ;)
>
> On Mon, Dec 17, 2001 at 02:05:34PM -0200, Ronan Lucio wrote:
> > I configured this morning the subdomain like Nate explanation
> > and it looks me right and working fine.
> >
> > Thank´s
> > Ronan
> >
> > > 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
> > >
> > >
>
> --
> Nate Campi | Terra Lycos DNS | SF UNIX Operations | (415) 276-8678
>
> To do the actual install you have to be root, but none of the normal
> build should require that. Don't take the name of root in vain.
> - /usr/src/linux/README
>



More information about the bind-users mailing list