Bind and views

Marco Felettigh marco at nucleus.it
Wed Oct 7 09:35:11 UTC 2015


Hi,
i have server with an old Bind (bind-9.9.4P2) and is configured with
multiple views.

ViewA that has slave zones and accept query for match-destinations IpA
ViewB that has others slave zones and accept query for
match-destinations IpB

ViewDefault that is the a default configuration for root zones etc. and
accept query for match-destinations IpDefault.

view "ViewA" {
        match-destinations { IpA; };
        transfer-source IpA;
        allow-query { any; };
        recursion no;

	zone pippo.it .....

};
 
view "ViewB" {
        match-destinations { IpB; };
        transfer-source IpB;
        allow-query { any; };
        recursion no;
	zone.....
};


When from the server i run for example:
dig hosta.pippo.it

dig contact my resolv.conf nameserver (127.0.0.1) on port 53 but the
Bind's resolver contact root servers and come down all the dns chain
like Bind do not has the pippo.it zone in the ViewA.

Of corse if i run
dig hosta.pippo.it @IpA 
all is working properly.

Is it possible to force the Bind's resolver to lookup in all the views ?
Important: i need the views binded to differents ips.

Thanks
Marco









More information about the bind-users mailing list