How to configure a sub-domain?

Joseph S D Yao jsdy at center.osis.gov
Mon Dec 17 14:27:05 UTC 2001


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.


-- 
Joe Yao				jsdy at center.osis.gov - Joseph S. D. Yao
OSIS Center Systems Support					EMT-B
-----------------------------------------------------------------------
   This message is not an official statement of OSIS Center policies.


More information about the bind-users mailing list