Subdomain configuration.
Mark_Andrews at isc.org
Mark_Andrews at isc.org
Wed Sep 17 22:04:37 UTC 2003
> Hi all.
>
> I have a local stand-alone name server resolving all requests for a
> domain (mydomain).
>
> Recently, a new domain (subdomain.mydomain) is born. A different DNS
> server has been setup for resolution of names in this new domain.
> Assuming that all clients (for both domains) remain unchanged (in
> particular their resolv.conf), what have I to change in the first name
> server?
>
> I've added the following lines in /etc/named.conf:
>
> zone "subdomain.mydomain" {
> type forward;
> forwarders { 100.101.102.103; };
> }
>
> where 100.101.102.103 is the IP address of the new name server.
> It seems to work. Is it correct? Is it enough?
>
> Thanks a lot,
> Marcello.
>
>
Don't do this. You should delegate the subzone.
In mydomain add:
subdomain.mydomain. NS <nameofserver>
<nameofserver> A 100.101.102.103
If you are using global forwarding you will want
to turn it off in the mydomain declaration.
zone "mydomain" {
...
forwarders { /* empty */ };
};
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at isc.org
More information about the bind-users
mailing list