reverse lookup and forwarding

Barry Margolin barmar at alum.mit.edu
Wed Dec 17 21:48:09 UTC 2003


In article <brqcbp$30f4$1 at sf1.isc.org>,
 nizam_s_khan at hotmail.com (NKhan) wrote:

> DNS gurus please help,
> 
> I am learning to setup DNS but am in a bit of a pickle of how to do in
> our setup. We have hosts which have a mixture of corporate address's
> and some other private address's. For example (not real names!!):
> 
> 10.177.30.1     host1  # for private data comms network
> 10.41.88.153    host2  # corporate address
> 
> I need to setup my DNS server such that it will do the reverse lookups
> for the corp address only. All the corp address's start with 10.41.x.x
> - The lookups for private data comms network (10.176.x.x and
> 10.177.x.x) should get forwarded to the DNS server for that network.
> (I know its ip address).
> 
> Any ideas on how I go about doing this. 

zone "41.10.in-addr.arpa" {
  type master;
  ...
};

zone "176.10.in-addr.arpa" {
  type forward;
  forwarders { <dns-server-address>;};
};
zone "177.10.in-addr.arpa" {
  type forward;
  forwarders { <dns-server-address>;};
};

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA


More information about the bind-users mailing list