Local-zone and local-data in conf.d

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.

Hi David,

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