Multiple Domains on One Name Server

Joseph S D Yao jsdy at cospo.osis.gov
Fri Jul 7 22:01:30 UTC 2000


On Fri, Jul 07, 2000 at 01:56:59PM -0400, LourdesT at aol.com wrote:
> Is it possible to create a primary domain, such as jlic.com, on one name 
> server and a subdomain, ldap.jlic.com, on the same name server.  If so, how 
> would the data zone files and the named.conf file be configured?

Certainly.

Two ways.

(1) just include subdomain information in parent zone file.

zone.jlic:
# jlic.com
@		IN SOA ...
		IN NS ...
		IN NS ...
ws1		IN A	?.?.?.?
sv1.ldap	IN A	?.?.?.?
...

(2) create a subzone:
	- add referrals in the parent zone file:
ldap		IN NS	(same host name 1)
ldap		IN NS	(same host name 2)
	- create a whole new zone file, zone.ldap.jlic, with its own
	SOA, NS records [matching the ones in the parent zone file],
	and other information
	- add the zone information to /etc/named.conf in the same way
	as the parent zone

In the latter case, changes to /etc/named.conf must be manually
propagated to any slave servers that you might have.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.



More information about the bind-users mailing list