Date: Fri, 29 Nov 2019 23:14:30 +0100 From: Polytropon <freebsd@edvax.de> To: starikarp@dismail.de Cc: ajtiM via freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: loca;_unbound logfile Message-ID: <20191129231430.234ce775.freebsd@edvax.de> In-Reply-To: <20191129164901.6d367802@dismail.de> References: <20191129164901.6d367802@dismail.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > server: > 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? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191129231430.234ce775.freebsd>