From owner-freebsd-questions Thu Oct 24 9:57: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7245637B401 for ; Thu, 24 Oct 2002 09:57:00 -0700 (PDT) Received: from rhadamanth.submonkey.net (pc1-cdif2-4-cust210.cdf.cable.ntl.com [80.4.10.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id E45A843E42 for ; Thu, 24 Oct 2002 09:56:59 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.10) id 184lHn-0003Jl-00; Thu, 24 Oct 2002 17:56:43 +0100 Date: Thu, 24 Oct 2002 17:56:43 +0100 From: Ceri Davies To: Len Conrad Cc: freebsd-questions@freebsd.org Subject: Re: DNS server Message-ID: <20021024165643.GB12625@submonkey.net> References: <20021024154552.66115.qmail@web20102.mail.yahoo.com> <5.1.1.6.2.20021024114733.03209dd8@mail.go2france.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.1.6.2.20021024114733.03209dd8@mail.go2france.com> X-message-flag: All your linuxconf-configured redhat are belong to us. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 24, 2002 at 11:53:37AM -0500, Len Conrad wrote: > > >> Hi all > >> > >> I have question about DNS server: > >> > >> I have more than 300 domain names and want to all > >> domain names pointing to one ipaddress > >> > >> I don't want to create 300 zones separately > >> > >> ls it possible to do it one zone to have this feature? > > sure, if all the domains have identical zone data, then you can have > exactly one zone file for all 300 domains. create the db.zonecommon file > and then in named.conf: > > zone "domain.com" { type master; file "db.zonecommon" ; }; > zone "again.com" { type master; file "db.zonecommon" ; }; > zone "encore.com" { type master; file "db.zonecommon" ; }; > zone "heretoo.com" { type master; file "db.zonecommon" ; }; Or you could include a common file in the zonefiles for each domain. Ceri -- you can't see when light's so strong you can't see when light is gone To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message