Hello,
Firstly, thank you very much to those who make this powerful and
optimized software possible !!
I've had it running on Debian 9 and now I have it running on Debian 10.
But now there is a small inconvenience, I cannot get the logs written.
I have tried both /var/log/nsd.log and /var/log/nsd/nsd.log.
I have also tried changing permissions.
This is what /var/log/daemon.log shows immediately after restarting
NSD:
...
Oct 23 15:46:13 dhcppc1 nsd[2378]: [2019-10-23 15:46:13.314] nsd[2380]:
warning: signal received, shutting down...
Oct 23 15:46:13 dhcppc1 nsd[2378]: [2019-10-23 15:46:13.316] nsd[2380]:
warning: failed to unlink pidfile /run/nsd/nsd.pid: Permission denied
Oct 23 15:46:13 dhcppc1 systemd[1]: Stopping Name Server Daemon...
Oct 23 15:46:13 dhcppc1 systemd[1]: nsd.service: Succeeded.
Oct 23 15:46:13 dhcppc1 systemd[1]: Stopped Name Server Daemon.
Oct 23 15:46:13 dhcppc1 systemd[1]: Starting Name Server Daemon...
Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.514] nsd[2401]:
error: Cannot open /var/log/nsd/nsd.log for appending (Read-only file
system)$
Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.514] nsd[2401]:
warning: chown /var/log/nsd/nsd.log failed: No such file or directory
Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.514] nsd[2401]:
notice: nsd starting (NSD 4.1.26)
Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.514] nsd[2401]:
error: setsockopt(...,IP_TRANSPARENT, ...) failed for udp: Operation
not perm$
Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.514] nsd[2401]:
error: setsockopt(...,IP_TRANSPARENT, ...) failed for tcp: Operation
not perm$
Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.518] nsd[2401]:
info: setup SSL certificates
Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.566] nsd[2402]:
info: zonefile /etc/nsd/zones/...
...
I would appreciate help on this topic.
Best regards.
Jos? Luis