Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 10:08:35 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        Tony Landells <ahl@austclear.com.au>
Cc:        default <default013subscriptions@hotmail.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: DNS CNAME question 
Message-ID:  <Pine.BSF.4.21.0108240958470.16933-100000@java2.dpcsys.com>
In-Reply-To: <200108240603.QAA23369@tungsten.austclear.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 24, Tony Landells wrote:
> If what you want is to have all the same entries for blah.com and
> domain.ws, then if you construct the zone file properly you can
> just point both zones at the same file in named.conf:
> 
> zone "domain.ws" {
>         type master;
>         file "domain.ws";
> };
> 
> zone "blah.com" {
> 	type master;
> 	file "domain.ws";	# blah.com is a mirror of domain.ws
> };

Just to add a little to Tony's explanation, make sure that you
use the @ short cut in your zone file when using the same
file for multiple domains.

For your slave name servers, use separate backup files for each
domain, don't share them as above.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0108240958470.16933-100000>