Static entries and forwarding for the same zone???!!

Barry Margolin barmar at genuity.net
Mon Aug 6 20:23:28 UTC 2001


In article <9km9v1$6a9 at pub3.rc.vix.com>, kshong <kshong at singnet.com.sg> wrote:
>A site administrator wants me to setup both static entries and 'type
>forward;' for the same zone. This means that bind has to resolve some dns
>names from a file and if it can't find the answer there, it will forward the
>query to another dns server. do you think it's possible???!! *scratching
>head*

Create a separate master zone for each of the static entries:

zone "company.com" {
  type forward;
  forwarders { 1.2.3.4; };
};

zone "host1.company.com" {
  type master;
  file "db.host1";
};

zone "host2.company.com" {
  type master;
  file "db.host2";
};

and so on.

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