Question about allow-query in the /etc/named.conf

Barry Margolin barmar at alum.mit.edu
Mon Jul 5 19:22:08 UTC 2004


In article <ccbsl0$5qr$1 at sf1.isc.org>,
 John Ho <magiciq at noordbrabant.net> wrote:

> How can I put all those IP-address ranges in acl roaming in a seperate file?? 
> I just want to have a text file which include all those IP-address ranges. 
> like:
> # more /etc/roaming_list.conf
> 193.10.10.0/24;
> 141.10.10.0/24;
> 156.10.10.0/24;
> blablabla
> blabla
> bla
> 
> If I say --> acl roaming  { /etc/roaming_list.conf }, should it works??

No.  You could put the following in the file:

acl roaming {
193.10.10.0/24;
141.10.10.0/24;
....
};

and then put the following in named.conf:

include "/etc/roaming_list.conf";

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list