[Bug 202129] dns/unbound: Can't have any UNBOUND logs with Syslog or Rsyslog

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 18 14:46:04 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202129

--- Comment #4 from jaap at NLnetLabs.nl ---
Unbound logs always to syslog unless otherwise specified.
To separate unbound messages I use in syslog.conf

!unbound
*.*  /var/log/unbound.log

and that works fine for years.

I agree with Sergey that this is likely a syslog configuration problem.
For remote logging on a remote machine I do think your configuration
should look like

!unbound
*.*     @remote_machine

You can test whether the remote machine accept and process the packets with
something like

$ logger -h remote_machine -t unbound "Unbound log test"

which should work with the standard syslogd.

Note that your unbound is old, the current version is 1.6.0

Success!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list