[Unbound-users] How to 'terminate' stub, forward entries?
wouter at nlnetlabs.nl
Wed Oct 24 11:31:35 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 10/22/2012 01:14 AM, Ville Walveranta wrote:
> 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 :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the Unbound-users