Hi

 

I have one BIND server configured with several views, using acls to let
different clients see different zones.

And now I want to setup a slave server providing the same function, and do
not know how to use AXFR to update zone data. 

Because the slave server only have one ip address and cannot access all the
views with zones in them.

The configure file of master server is like this:

 

view "1" {

        match-clients {10/8;};

        zone "." IN {

                type hint;

                file "named.ca";

        };

        zone "test.com." IN {

                type master;

                file "test.com";

        };

 

};

view "2" {

        match-clients {11/8;};

        zone "." IN {

                type hint;

                file "named.ca";

        };

        zone "test2.com." IN {

                type master;

                file "test2.com";

        };

};

 

Should I configure another view including all zones on master server,
allowing slave server ip to access, such as

view "update" {

        match-clients {192.168.1.2/32;};//slave server ip

        zone "test.com." IN {

                type master;

                file "test.com";

        };

        zone "test2.com." IN {

                type master;

                file "test2.com";

        };

};

 

Thanks a lot

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to