From owner-freebsd-questions Thu Oct 24 9:54: 0 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 C786B37B401 for ; Thu, 24 Oct 2002 09:53:58 -0700 (PDT) Received: from mgw1-out.MEIway.com (mgw1.meiway.com [212.73.210.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81DF443E4A for ; Thu, 24 Oct 2002 09:53:57 -0700 (PDT) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virus-gate.meiway.com [212.73.210.91]) by mgw1-out.MEIway.com (Postfix Relay Hub) with ESMTP id 65158EF8F9 for ; Thu, 24 Oct 2002 18:34:05 +0200 (CEST) Received: from localhost (localhost.meiway.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id 013D15D009 for ; Thu, 24 Oct 2002 19:00:27 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 748995D008 for ; Thu, 24 Oct 2002 19:00:26 +0200 (CEST) Received: from tx0-go2france-c.Go2France.com [66.64.14.18] by mail.Go2France.com with ESMTP (SMTPD32-6.06) id A7C7421F014C; Thu, 24 Oct 2002 19:03:03 +0200 Message-Id: <5.1.1.6.2.20021024114733.03209dd8@mail.go2france.com> X-Sender: LConrad@Go2France.com@mail.go2france.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Thu, 24 Oct 2002 11:53:37 -0500 To: freebsd-questions@freebsd.org From: Len Conrad Subject: Re: DNS server In-Reply-To: <01a001c27b75$394cf4d0$fd6e34c6@moti> References: <20021024154552.66115.qmail@web20102.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 > > 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" ; }; The "shared zone file" is an extremely powerful technique to support virtual www/ftp/mail servers. And if you can't fit all zones into one common zone file, make 3 or 4 shared variants, which is still tons simpler than 300, or 30,000 separate zone files. Len To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message