question to undestand forwarding on subzone

Kevin Darcy kcd at daimlerchrysler.com
Thu Feb 15 00:08:37 UTC 2001


Roger Caspar wrote:

> I have a primary and a slave dns for the zone "mydomain.com".
>
> Now I will only forward a subzone from my domain ("forward.mydomain.com"
> )
>
> The zone file for this ("forward.mydomain.com" ) will be on a diffrent
> dns (not one of me), where should resolve the hosts in this zone.
>
> How can I configure this.
>
> I read in the DNS and Bin about a dns as forwarder but not for
> forwarding a subzone only.
>
> It's possible to configure that in the named.master.conf  like:
>
> zone "forward.ydomain.com" {
>                 type forwardhost1;
>                 type forwardhost2;}
>
> I need a forward for this subzone to both hosts, for redundance when one
> is down!

_DNS_and_BIND_ 3rd Edition only covers up through BIND 8.1.2.

With BIND 8.2 or above (which means 8.2.3 if you care at all about
security), you can do "per-domain forwarding", e.g.

zone "forward.ydomain.com" {
    type forward;
    forward only;
    forwarders { forwardhost1; forwardhost2; };
};

Depending on your requirements, making yourself a slave or stub for the
zone might be a better choice than per-domain forwarding.


- Kevin




More information about the bind-users mailing list