How to configure a sub-domain?

Ronan Lucio ronan at melim.com.br
Mon Dec 17 16:00:44 UTC 2001


Hi Joseph,

> On Fri, Dec 14, 2001 at 06:02:43PM -0200, Ronan Lucio wrote:
> ...
> > zone "domain.com" {
> >     type master;
> >     file "pri.domain.com";
> > };
> >
> > zone "sub.domain.com"{
> >     type slave;
> >     file "sec.sub.domain.com";
> >     masters {
> >         192.168.1.1;
> >     };
> > };
>
> If you have them set up as separate domains, then both parent and child
> domains must declare the child domain's name servers (192.168.1.1 and
> the referenced name server and any others) with both NS and A records.
>
> NOTE: this is going to cause a problem if you are pulling information
> from a name server in private IP space (192.168.*.*) into a name server
> on the public Internet.

The private IP is just a example, here it´s working on a public
IP on a diferent server in diferent cities.

Thank´s
Ronan



More information about the bind-users mailing list