Zone setup read from directory?

Barry Margolin barmar at genuity.net
Wed Nov 14 23:02:26 UTC 2001


In article <9surrr$dgi at pub3.rc.vix.com>,
Ralph Schindler  <ralph at snarff.net> wrote:
>I want to specify something like:
>
>options {
>	directory "/etc/named";
>	allow-transfer {none; }
>};
>
>zone "*" {
>	type master;
>	file "*";
>}

No.  Why don't you just write a script that reads the directory and builds
the named.conf file for you?  It seems like it should be trivial in shell,
awk, or perl.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list