ACL in /etc/named.zones

Chris Thompson cet1 at hermes.cam.ac.uk
Tue Sep 5 15:24:24 UTC 2006


On Sep 4 2006, Sim wrote:

>Hi to All!
>
>Is it possible to substitute all "masters {192.168.2.7; 192.168.2.8};"
>with ACL ?
>
>Source :
>------------------------------------------------------------------
>zone "example.com" in {
>    type slave;
>    file "slave.example.com";
>    masters { 192.168.2.7; 192.168.2.8; };
>};
>
>
>
>For example:
>------------------------------------------------------------------
>acl masters {
>        89.186.33.2;
>};
>
>zone "example.com" in {
>    type slave;
>    file "slave.example.com";
>    masters { masters; };
>};

BIND 9.3.x has the "masters" statement for this. (s/acl/masters/ above
and it will work.)

-- 
Chris Thompson
Email: cet1 at cam.ac.uk



More information about the bind-users mailing list