Forwarding

Barry Margolin barmar at bbnplanet.com
Fri Jan 28 00:02:54 UTC 2000


In article <389064cc.206306 at library.airnews.net>, Jon <jon at fggf.com> wrote:
>Hi,
>   I am using bind ver8, and have a configuration question.    I need
>to forward different request to different places.   example:
>if zone is local, the do lookup local
>If lookup is from domain.com forward the request to DNS server 1
>if lookup is for domain2.com send the rquest to DNS server 2
>All other requests send it to DNS server 3

options {
  forwarders { <DNS server 3>};
  forward only;
};

zone "domain.com" {
  type forward;
  forwarders { <DNS server 1>; };
};

zone "domain2.com" {
  type forward;
  forwarders { <DNS server 2>; };
};

zone "local" {
  type master;
  file "hosts.local";
};

-- 
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