Stub zone vs forward zone

Mark Andrews marka at isc.org
Mon Mar 14 12:46:09 UTC 2011


In message <20110314104330.GA29380 at torres.zugschlus.de>, Marc Haber writes:
> Hi,
> 
> I am running a local instance of bind on my notebook to spare myself
> some rather annoying reconfiguration orgies that are bound to happen
> when changing networks.
> 
> On my biggest customer's network, I am trying to be able to access
> their reverse DNS, which is (don't ask) not loaded on the servers that
> my notebook is assigned via DHCP as forwarders.
> 
> I have thus configured these zones locally, experimenting with
> differnt configuration types:
> 
> zone "2.1.10.in-addr.arpa" {
>         type stub;
>         masters { 10.1.2.11; 10.1.2.45; };
>         file "stub/2.1.10.in-addr.arpa";
>         forwarders { };
> };
> 
> zone "101.1.10.in-addr.arpa" {
>         type forward;
>         forwarders { 10.1.101.6; };
>         forward only;
> };
> 
> The stub zone works; the forward zone doesn't. When I ask my local
> bind for 6.101.1.10.in-addr.arpa (PTR), I get an immediate NXDOMAIN
> without bind even trying to talk to the actual name server.
> 
> I can ping 10.1.101.6 just fine.
> 
> I must admit that I haven't yet full understood the difference between
> a stub zone and a forward zone, any why i need the forwarders { } on
> the stub zone.

The empty forwarders clause turns off the enclosing/global forwarders.
 
> Any hints will be appreciated.
> 
> Greetings
> Marc
> 
> -- 
> ----------------------------------------------------------------------------
> -
> Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
> Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
> Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list