You are not logged in.
Today's update to nsd caused the daemon to fail to start on my system. I have changed the ownership of /var/db/nsd/nsd.db to nsd:nsd and also heeded the warning in the pacman log for the permissions of /var/db/nsd to be 755 instead of 700. With both at least the daemon will now start but I had to restart it twice before the status was clean.
i.e.
# systemctl restart nsd
# systemctl restart nsd
# systemctl status nsd
nsd.service - NSD Name Server Daemon
Loaded: loaded (/usr/lib/systemd/system/nsd.service; enabled)
Active: active (running) since Fri 2013-11-01 22:26:44 GMT; 1min 14s ago
Main PID: 342 (nsd)
CGroup: /system.slice/nsd.service
├─342 /usr/bin/nsd -c /etc/nsd/nsd.conf
├─343 /usr/bin/nsd -c /etc/nsd/nsd.conf
└─345 /usr/bin/nsd -c /etc/nsd/nsd.conf
Nov 01 22:26:44 home1 systemd[1]: Starting NSD Name Server Daemon...
Nov 01 22:26:44 home1 systemd[1]: Started NSD Name Server Daemon.
Nov 01 22:26:44 home1 nsd[343]: nsd started (NSD 4.0.0), pid 342I also see that the nsdc command that used to be available seems no longer available but I have not seen any information about the changes to the new version. If someone knows a link to information about changes to the package I would appreciate it.
Also running nsd-checkconf on my zone files now gives an error but I can't find how to list what the error is!
# nsd-checkconf /etc/nsd3/0.0.10.in-addr.arpa.zone
/etc/nsd3/0.0.10.in-addr.arpa.zone:1: error: syntax error
read /etc/nsd3/0.0.10.in-addr.arpa.zone failed: 1 errors in configuration fileLast edited by mcloaked (2013-11-01 22:42:06)
Mike C
Offline
I have managed to get some info about the new version at http://www.nlnetlabs.nl/projects/nsd/ but need to do some reading on this.
Also once the new version is installed then it is a good idea to read /usr/share/doc/nsd/UPGRADING
There is a newer version with a couple of extra fixes - 4.0.0-2
If there are any residual problems then, first stop the server
systemctl stop nsd, and then remove all the files in /var/db/nsd/
Then
systemctl restart nsdThe nsd.conf from version 3 should work with the new version 4 but probably a good idea to merge changes from /etc/nsd/nsd.conf.sample and make a new nsd.conf
The old nsdc command has been replaced by nsd-control
In order to use nsd-control the keys have to be setup initially using
# nsd-control-setupThen in nsd.conf you need to add the line
control-enable: yesThen restarting nsd will allow the nsd-control command to access the server.
There is sufficient help in the DOC files plus the man command to effect the necessary changes from version 3 to version 4
Last edited by mcloaked (2013-11-02 10:00:48)
Mike C
Offline