Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 11:53:37 -0500
From:      Len Conrad <LConrad@Go2France.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: DNS server
Message-ID:  <5.1.1.6.2.20021024114733.03209dd8@mail.go2france.com>
In-Reply-To: <01a001c27b75$394cf4d0$fd6e34c6@moti>
References:  <20021024154552.66115.qmail@web20102.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.2.20021024114733.03209dd8>