[nsd-users] NSD not logging to SYSLOG
cam
ESOUQcWEt5QXZwMWQYa8g7DiWPxFLIB3 at sauros.net
Sun Feb 16 06:27:11 UTC 2014
Hi,
Running NSD on OpenBSD 5.4, I notice that nsd does not log to SYSLOG unless it
is run on the command line with the "-d -V 9" flags.
>From the manpages:
-l logfile
Log messages to the specified logfile. The default is to log to
stderr and syslog. If a zonesdir: is specified in the config
file this path can be relative to that directory.
Running it as a normal daemon with "-V 2" flags should theoretically log to
SYSLOG but it is not the case.
When running, no socket file is created in the /var/nsd/dev/ directory (even
if I changed the permission to _nsd:_nsd), is this normal?
Would appreciate any hint or help,
Cheers,
cam
Some info:
# nsd -v
NSD version 3.2.15
Written by NLnet Labs.
Copyright (C) 2001-2011 NLnet Labs. This is free software.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.
# l /var/nsd/
total 28
drwxr-xr-x 7 root wheel 512 Feb 16 11:29 .
drwxr-xr-x 25 root wheel 512 Feb 16 11:23 ..
drwxr-xr-x 2 root wheel 512 Feb 13 19:32 db
drwxr-xr-x 2 root wheel 512 Jul 31 2013 dev
drwxrwxr-x 2 root _nsd 512 Feb 16 14:14 run
drwxr-xr-x 2 root wheel 512 Jul 31 2013 zones
# cat /etc/nsd.conf
server:
ip-address: 0.0.0.0
port: 53
server-count: 1
statistics: 120
verbosity: 2
ip4-only: yes
hide-version: yes
identity: "ns1.domain.tld"
More information about the nsd-users
mailing list