Re: when one view doesn't have the zone
In article mailman.1407.1295579612.555.bind-us...@lists.isc.org, p...@mail.nsbeta.info wrote: In fact I want to the clients that match view_b to fall into the default view, say it's view_c. There is no fall-through in views. The search stops when it finds the first view that matches. Each view is like a totally separate server (which is actually what we did before views were added to BIND). -- Barry Margolin, bar...@alum.mit.edu Arlington, MA *** PLEASE don't copy me on replies, I'll read them in the group *** ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
when one view doesn't have the zone
Hello, My named.conf looks as: -- view view_a { match-clients { IP_ADDR_A; }; zone test.com { type master; file test.com.a.db; }; }; view view_b { match-clients { IP_ADDR_B; }; # doesn't have test.com zone here }; view view_c { match-clients { IP_ADDR_C; }; zone test.com { type master; file test.com.c.db; }; }; -- As you see, test.com doesn't have a zone in view_b. But view_b should be there because other zones may need it. So under this case, when clients from ISP_ADDR_B query for test.com, they will get nothing. How can I resolve this problem? Thanks in advance. Regards. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: when one view doesn't have the zone
Mark Andrews writes: In message 20110121024745.bcd2e2c...@mail.nsbeta.info, p...@mail.nsbeta.info w rites: Hello, My named.conf looks as: -- view view_a { match-clients { IP_ADDR_A; }; zone test.com { type master; file test.com.a.db; }; }; view view_b { match-clients { IP_ADDR_B; }; # doesn't have test.com zone here }; view view_c { match-clients { IP_ADDR_C; }; zone test.com { type master; file test.com.c.db; }; }; -- As you see, test.com doesn't have a zone in view_b. But view_b should be there because other zones may need it. So under this case, when clients from ISP_ADDR_B query for test.com, they will get nothing. How can I resolve this problem? Thanks in advance. Sometimes you have to workout what you want the answer to be before people can tell you how to achieve it. This is one of those times. What do you want the clients that match view_b to see? Thanks for pointing me. In fact I want to the clients that match view_b to fall into the default view, say it's view_c. Regards. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: when one view doesn't have the zone
In message 20110121030937.da19e2c...@mail.nsbeta.info, p...@mail.nsbeta.info w rites: Mark Andrews writes: In message 20110121024745.bcd2e2c...@mail.nsbeta.info, p...@mail.nsbeta.in fo w rites: Hello, My named.conf looks as: -- view view_a { match-clients { IP_ADDR_A; }; zone test.com { type master; file test.com.a.db; }; }; view view_b { match-clients { IP_ADDR_B; }; # doesn't have test.com zone here }; view view_c { match-clients { IP_ADDR_C; }; zone test.com { type master; file test.com.c.db; }; }; -- As you see, test.com doesn't have a zone in view_b. But view_b should be there because other zones may need it. So under this case, when clients from ISP_ADDR_B query for test.com, they will get nothing. How can I resolve this problem? Thanks in advance. Sometimes you have to workout what you want the answer to be before people can tell you how to achieve it. This is one of those times. What do you want the clients that match view_b to see? Thanks for pointing me. In fact I want to the clients that match view_b to fall into the default view, say it's view_c. You need view_b to have a copy of view_c's zone. See the archives for how to do this. Regards. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users