Global wildcard

Warrick FitzGerald wfitzgerald at livetechnology.com
Fri Jun 28 21:38:08 UTC 2002


Thanks Martin,

What i'm trying to avoid though is having to create an entry in the
named.conf file for every domain, I would like to setup a domain . or *

Thanks
Warrick


----- Original Message -----
From: <Martin.Machacek at Terabeam.com>
To: <wfitzgerald at livetechnology.com>
Cc: <comp-protocols-dns-bind at isc.org>
Sent: Friday, June 28, 2002 2:45 PM
Subject: Re: Global wildcard


>
> On Fri, Jun 28, 2002 at 02:10:22PM -0400, Warrick FitzGerald wrote:
> >
> > Hi All,
> >
> > I am trying to use bind in a benchmarking lab to resolve all queries to
one
> > address. Essentially I am trying to benchmark two mail servers by
sending
> > 400,000 emails to 400,000 unique email addresses. So I really want to be
> > able to send an email to 1 at 1.com and 2 at 2.com and 3 at 3.com and have all
the
> > domains resolve to the same MX recored. So in essence  I would like BIND
use
> > only one zone file. Can anyone tell me if this is possible, and if so
how I
> > go about doing this ?
>
> It is very simple. Create your zone file. It may look for example like
this:
>
> $TTL 3600
>
> @ IN SOA ns root.ns  (
> 2002040801 ; Serial
> 3600 ; Refresh
> 900 ; Retry
> 3600000 ; Expire
> 3600 ) ; Minimum
> IN NS ns
> IN MX 10 mx
>
> ns IN A 1.1.1.1
> mx IN A 2.2.2.2
>
> (where 1.1.1.1 is address of your nameserver and 2.2.2.2 is address of the
MTA)
>
> ... and reference it multiple times in your config file for all domains
you want
> to share the data - like this:
>
> zone "1.com" {
> type master;
> file "myzone";
> };
>
> zone "2.com" {
> type master;
> file "myzone";
> };
>
> zone "3.com" {
> type master;
> file "myzone";
> };
>
> ...
>
>
> Martin
> --
> [phone: (206) 357-1220]
> [cell : (206) 571-2814]
>
>
>




More information about the bind-users mailing list