when one view doesn't have the zone

pyh at mail.nsbeta.info pyh at mail.nsbeta.info
Fri Jan 21 02:47:45 UTC 2011


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.



More information about the bind-users mailing list