[Pdns-users] Passing a filename as a variable for an access list

Eric Wolff ewolff at ulink.net
Tue Sep 30 20:07:00 UTC 2014


The config option allow-recursion= allows for a comma separated listing of
subnets. I am looking for a way to pass a file to this option so I can keep
a list with descriptions similar to /etc/mail/access for sendmail.

 

Eg:

 

Allow-recursion=/etc/pdns/access

 

(Contents of file)

#ISP Subnet 1

10.10.10.10/24

#ISP Subnet 2

20.20.20.20/20

#Some Customer

30.30.30.30./32

 

I could probably write a script to generate a new config file using the
contents of an access list but I'd greatly prefer something built in.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20140930/e6887a12/attachment.html>


More information about the Pdns-users mailing list