How to resolve all queries from ip address to 1 address?

Barry Margolin barmar at alum.mit.edu
Wed Jul 7 23:55:24 UTC 2004


In article <cchr68$21tu$1 at sf1.isc.org>,
 "Joost Kraaijeveld" <J.Kraaijeveld at Askesis.nl> wrote:

> Hi all,
> 
> Is it possible to resolve all queries from a specific IP range / IP =
> address
> to 1 specific IP address? If so, is there an example named.conf / docs
> available?

Use views, and put the following in the view that matches those IP's:

zone "." {
  type master;
  file "db.root";
};

The file db.root should contain:

@ IN SOA <usual SOA stuff>
  IN NS <yourservername>
* IN A <specific IP address>

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list