[Unbound-users] forward-zone: Is it possible to read the domain "name:" clause from text input file ?

information info at mailsource.co.za
Thu Oct 13 14:14:11 UTC 2011


Hi there,

I have been looking for a way to configure forward-zone domains in a 
single text file instead of listing them each individually.

Hypothetical example below:

-------- SNIP ----------

forward-zone:
         name: file /etc/domains.txt
         forward-addr: 10.0.0.2

--------END -----------

instead of the usual:

------- SNIP -----------

forward-zone:
         name: banana.com
         forward-addr: 10.0.0.2

forward-zone:
         name: banana2.com
         forward-addr: 10.0.0.2

forward-zone:
         name: banana3.com
         forward-addr: 10.0.0.2

--------- END ----------

etc etc...

If such syntax exists I would be greatly thankful, if not.. perhaps you 
guys have ideas how to  implement something like this without a million 
forward-zone: clauses in the unbound.conf

Thanks








More information about the Unbound-users mailing list