freebsd at edvax.de
Fri Nov 29 22:14:40 UTC 2019
On Fri, 29 Nov 2019 16:49:01 -0500, ajtiM via freebsd-questions wrote:
> I am using local_unbound from base OS for DNS over TLS and it works. I
> try to setup logfile. In
> unbound.conf I have:
> # This file was generated by local-unbound-setup.
> # Modifications will be overwritten.
> username: unbound
> directory: /var/unbound
> chroot: /var/unbound
> pidfile: /var/run/local_unbound.pid
> auto-trust-anchor-file: /var/unbound/root.key
> logfile: /var/log/unbound.log
> log-queries: yes
> include: /var/unbound/forward.conf
> include: /var/unbound/lan-zones.conf
> include: /var/unbound/control.conf
> include: /var/unbound/conf.d/*.conf
> I added just two lines related to log.
> And local-unbound-checkconf shows that are no errors in
> /var/unbound/unbound.conf but directory is empty
Try creating the logfile manually:
# touch /var/log/unbound.log
Do you get any error messages on system startup or in the
/var/log/messages related to unbound?
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions