[Unbound-users] How to 'terminate' stub, forward entries?

W.C.A. Wijngaards wouter at nlnetlabs.nl
Wed Oct 24 09:31:35 UTC 2012


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

Hi Ville,

On 10/22/2012 01:14 AM, Ville Walveranta wrote:
> Hello,
> 
> I'm setting up unbound for internal network resolution and have
> couple of stub and forward zone entries.  However, I've noticed
> that unless "forward-zone:" or "stub-zone:" group is not terminated
> either by another forward-zone/stub-zone entry, or by the end of
> the configuration file, it results in an error and unbound won't
> start. I'd like to include each zone's entries, including possible 
> "private-zone" entry, from zone-specific files, so I'd like to know
> if there is a way to have forward/stub zone entries appear in the
> middle of other configuration?

Put server: after the forward-zone: or stub-zone: is done.  I suspect
you want to give configuration lines that appear at the top of the
example file, and those are in the server: group.  Then you can give
private-zone and other configuration after the server: line.  You can
have many server: sections, it simply treats them as one giant server
section.  (so, also good for include: "other config file").

> Unbound is fresh air after many years of bind use!! :-) I'm using
> it in combination with PowerDNS's authoritative server component
> (which I use for zone transfers).
> 
> Thanks for any insights on this!

Best of luck :-)

Best regards,
   Wouter


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQh7V3AAoJEJ9vHC1+BF+NTS8P/0ccY/BP1XAsf1PIGe//yQtP
J3JOlwEPZkzVz0ViSIvjirZ4+QtN9slmXVkOPm7xkY8vnQ8VA5/4/AXpvgYupa0l
zkPhORCIeD0v/nt/EtUj+hXFGgR0yjmuZoRHvGRE59SWPoBTGG3xHBFbelCP97bW
p1QqOkSv+Vwyhs+T2bsrCqzgpXjJTXgfdOY/X1h6Fft49zl1kLPUREel9YRxy57U
YrG56QAOHqmbGF52n9SrEOLc3oliNWxQ2olaBQb+swbtjNJWQlsRhhHc0ghHTDWm
Vcr1qUamiKJzOJVpjCk5CvGwiHmhgf+ew9/YqhpfRsO+QfnNa7Vnjojvecf/m2yW
kJ5wsoLz6V1nUS4oKfa0+DQwx5hDMsjcZ+k8wXe/JdYhXROxjYF0ulK6aju5siDz
Br+rlKL6f8gRw5eXeyiNDbtLXyBKRMOVS5AGYRJ6M7KPlcppm0my3gjrnAFDX/Up
gFHMCBXJlrpCxUSCzf40L0djFgkk9qO5c4BM7xHiY6JhBOfRW2Qf/oHApocfr/Sj
/omOM1AbXYFIJI7txMybMSm90yG8//qe7IHleZpntd3qMa4cWG2MxNqDM4wmi4/B
BomcH3BpymkzTJlHBTkjf982bdWBR4Cs781epQo709v7EUWCGd/xI3s8Sn8l5f0u
ZkSJoERKiS2Vg0jz84z+
=NdYp
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list