how to use AXFR

xinpu wang xiaoyaobilang at gmail.com
Tue Jun 2 05:00:30 UTC 2009


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20090602/4c9c1815/attachment.html>


More information about the bind-users mailing list