[Unbound-users] local-zone and local-data in conf.d

W.C.A. Wijngaards wouter at nlnetlabs.nl
Mon Jan 20 09:03:04 UTC 2014


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

Hi David,

On 01/18/2014 02:54 AM, David Timothy Strauss wrote:
> Is there a way to set these in conf.d? We'd like Chef to drop
> specific configuration for this on some boxes without having to
> manager the full unbound.conf file.

This depends on the distro that you use.  Some have include:
"/etc/unbound/*.conf" in unbound.conf and then you can drop files in
that conf.d.

In your files put the section entry and then the value entries.
server:
   local-zone: ...
   local-data: ...

The config reader combines all the server: sections from the files
together.  You should give the server: section so that others can put
other sections, such as forward-zone: and stub-zone:, in other files.
 Otherwise the config reader continues the last read section in the
next file (and likely errors out).

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJS3OZHAAoJEJ9vHC1+BF+NIjQP/iUSiEVXtoU7xnK943XDSLks
TTGI0y/lkcdpOn9dN9wbZ41l1+qUlJIK/RrSfBZdGcKW0E7XU6SOg3HwZOc1LqtC
GU8X/TCSy94fZjYV4h2+PSzIj6Ls4Lpd3tNrmjxTRf06qB6Lwi2GR9r0XQ6M7n0Y
Vl+Y46NngpjjDm6IZhREaAmHUE4UcPDxarSYM4CgwfOknW/Rfl6lHs4mIM/J7plS
IONHMBvYC4F+Mjgd7Q5QR/jkvaihNrnKhatW69DUTEWBeZ03y/GK153v+4WZONI4
yA6oQU4NgfnaKZpgcnudWr0i4pKHRaQndX3W7C5L+OfhtSfNIb+sBOx9pAWx+0zE
wpmQMX5sA+rvGbmePa31u6EBdz6ASkxFRDKgNh7dJaLfzo5Ue9Cb50B/cO3d6pnR
FzuurY7NcdjgpTfauqSC1ggHn9blJcIxTpUo1YU543xrZeFVoy7jxlEF1ohYVKsA
t6RdfaLoewooikGXpryZkauJqmIkmrjoFe8+jWzkz0q5vQtpWlBHykggLkFUs+V8
4LsD6ZtGWlHx6gxizfgK1ouNo2ufqTjwYuk7EJGvM5jbL2yRF1JD/lav0Vpe+K+Y
yXKX+Np1gggfod5bcLbbFvlQDLGqJcGagL9/V5ZkAIrL6JLwXLYFaY13QeR6bVDq
4jYRCI0UNDUqtQmEjlAv
=emb2
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list