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

Kevin Darcy kcd at daimlerchrysler.com
Mon Aug 6 22:28:46 UTC 2001


Barry Margolin wrote:

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

Of course, those are now *separate* zones, not "the same zone"...


- Kevin




More information about the bind-users mailing list