bind 9 - overriding/extending master name entries for subnet (VPN usage)

Barry Margolin barmar at genuity.net
Thu Jul 12 15:28:20 UTC 2001


In article <9ikfgg$7mg at pub3.rc.vix.com>, Leon Dang <zero2k at ausi.com> wrote:
>I have a VPN connection to the supernet. The localnet is a subnet of
>the supernet. However, there boxes on the localnet that don't have
>names on the master (supernet) dns, and we also like to override some
>of the name entries contained in the supernet's dns.
>
>Is there anyway in Bind 9 to do this? I've tried many things:
>forwarding, zone type master/slave/stub... I like to have the localnet
>forward anything that isn't stored locally (better still if it caches
>the entries).

Create a separate zone for each hostname on your local net:

zone "machine1.company.com" {
  type master;
  filename "db.machine1";
};
zone "machine2.company.com" {
  type master;
  filename "db.machine2";
};
and so on.

Your local DNS server will use the regular DNS lookup process to find
anything in the rest of the company.com domain.

-- 
Barry Margolin, barmar at genuity.net
Genuity, 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