Include for server directory

Ron Varburg ronvarburg at yahoo.com
Fri Nov 8 14:28:06 UTC 2019


 Quoting unbound.conf(5)

 Files can be included using the include: directive. It
 can appear anywhere, it accepts a single file name as
 argument. Processing continues as if the text from
 the included file was copied into the config file at
 that point. If also using chroot, using full path
 names for the included files works, relative pathnames
 for the included names work if the directory where the
 daemon is started equals its chroot/working directory
 or is specified before the include statement with di‐
 rectory: dir. Wildcards can be used to include multi‐
 ple files, see glob(7).

     On Thursday, November 7, 2019, 7:38:38 PM GMT, Eduard Ahmatgareev via Unbound-users <unbound-users at nlnetlabs.nl> wrote:  
 
 Hi all,

On the bottom of unbound.conf file we have:
include: /etc/unbound/conf.d/*.conf

I would like to create as example new file with path:
/etc/unbound/conf.d/server.conf
with next content:
server:
  extended-statistics: no
  and some another options


Will be it working? Does unbound merge all included configuration with server section in unbound.conf?

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20191108/ea1873ae/attachment.htm>


More information about the Unbound-users mailing list