records that dont exist

Barry Margolin barmar at bbnplanet.com
Thu Mar 16 18:29:38 UTC 2000


In article <8aqjbs$lbl$1 at news.panix.com>, Corvus <thecorvus at usa.net> wrote:
>Hello,
>I work for a company and we have over 1000 domains that are registered to
>us,now is there a way to point the domain names that dont have a record to
>one  ip address or domain name?Instead of making 1000 records by hand.
>Latest version of Bind on Redhat Linux 6.1

Create a file "default.db" that looks something like:

@ IN SOA ...
  IN NS ...
  IN A <that default IP>
www IN CNAME @

Then have all the "zone" entries in named.conf that don't have their own
records use that file, i.e.

zone "unsassigned.com" {
  type master;
  file "default.db";
};

-- 
Barry Margolin, barmar at bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list