[Q] is there way to configure stub-zone "recursively"?

Zeus Panchenko zeus at ibs.dn.ua
Mon Aug 12 05:44:45 UTC 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


greetings,

please, advise

can stub-zone, somehow be configured to query "recursively" all subzones
for the one single zone configured?

I was successful to configure my VPN client unbound, to use nameserver
on the central office, but it was necessary to configure each subzone
separately ...

Current, working, configuration is bellow, but can I shorten
configuration to not to configure each sub zone?

===[ unbound/unbound.conf quotation start ]===========================================
domain-insecure: "10.in-addr.arpa."
domain-insecure: "lan."

private-domain: "10.in-addr.arpa."
private-domain: "lan."

local-zone: "10.in-addr.arpa." transparent
local-zone: "lan." transparent
===[ unbound/unbound.conf quotation end   ]===========================================


===[ unbound/conf.d/stub-zones.conf quotation start ]=================================
# net: 10.123.0.0/24
stub-zone:
     name: "lan."
     stub-addr: 10.0.0.111
     stub-prime: yes

# net: 10.123.1.0/24
stub-zone:
     name: "office1.lan."
     stub-addr: 10.0.0.111
     stub-prime: yes

# net: 10.123.2.0/24
stub-zone:
     name: "office2.lan."
     stub-addr: 10.0.0.111
     stub-prime: yes
     
stub-zone:
     name: "0.123.10.in-addr.arpa."
     stub-addr: 10.0.0.111
     stub-prime: yes
     
stub-zone:
     name: "1.123.10.in-addr.arpa."
     stub-addr: 10.0.0.111
     stub-prime: yes
     
stub-zone:
     name: "2.123.10.in-addr.arpa."
     stub-addr: 10.0.0.111
     stub-prime: yes
===[ unbound/conf.d/stub-zones.conf quotation end   ]=================================

- -- 
Zeus V. Panchenko				jid:zeus at im.ibs.dn.ua
IT Dpt., I.B.S. LLC					  GMT+2 (EET)
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQYIXL6FUmD7SUfqoOveOk+D/ejKgUCXVD8zQAKCRCveOk+D/ej
KtntAJ4rEIotzfGV9aIE7KDvz4uzoToILQCggUGBiZ/Wc7eK2XXZ9UXQCpmJM18=
=ULgg
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list