local_unbound, resolvconf, vpn

Alexander Zagrebin alex at zagrebin.ru
Tue Nov 21 06:45:32 UTC 2017


Hi!

Also I have to notice that there is another issue with the default
local_unbound setup:
by default unbound uses syslog for logging, but usually the
local_unbound service starts before syslogd and so logging doesn't work
until local_unbound will be reloaded.

So it's looks reasonable to use logging to file by default.
As unbound runs in chroot, the log file has to be inside of
the /var/unbound directory, but now this directory contains a config
files.

I suggest to change the /var/unbound structure to be more hier(7)
friendly.
For example,
/var
  /unbound
    /etc      - unbound configuration files
      /conf.d - additional configuration files
    /var
      /log    - unbound log files

-- 
Alexander Zagrebin


More information about the freebsd-net mailing list