Can ACL be defined after it is used?

Mats Dufberg mats.dufberg at teliasonera.com
Mon Apr 4 12:26:41 UTC 2005


In named.conf, is it permitted to have an ACL definition after the ACL is
refered to? Is the following valid named.conf syntax?

   options {
        blackhole {
            PRIVATE_IP_SPACE;
        };
   };
   acl "PRIVATE_IP_SPACE" {
            10.0.0.0/8;
            172.16.0.0/12;
            192.168.0.0/16;
   };

It works both in 9.3.0 and 9.2.1, but I read the following in "BIND 9
Administrator Reference Manual":

  "Note that an address match list's name must be defined with acl before
   it can be used elsewhere; no forward references are allowed."


How should I interpret the documenation? What is the design?


Mats

----------------------------------------------------------------------
Mats Dufberg                                       TeliaSonera Sverige
mats.dufberg at teliasonera.com                       Naet och Produktion
+46 8 713 54 38                                 Vitsandsgatan 9, hus D
+46 70 258 2588                                       SE-123 86 Farsta
----------------------------------------------------------------------



More information about the bind-users mailing list