Joerg Sonnenberger
2008-Jul-21 13:59 UTC
[nsd-users] nsdc reload & changes to the zone list
Hi all, I got asked by a nsd user a while ago over the following behavior: (1) A zone was added or removed in nsd.conf (2) nsdc rebuild was run (3) nsdc reload was executed Now in syslog the following message can be found: corrupted database/bad config, zone example.com. in db /var/db/nsd.db, but not in config file. Cannot load database. Please rebuild database and start again. PR 193 concluded that the requirement to do a restart is ok, it was open whether the message should be changed. I think something like corrupted database /var/db/nsd.db or modified zone configuration. Please rebuild the database or restart the daemon. is more likely to guide the user to the problem. What do you think? Joerg
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In the latest 3.1.1 release, the message is changed to: "cannot load database. Zone foo.com in db nsd.db, but not in config file (might happen if you edited the config file). Please rebuild database and start again." Imo, a less confusing message than the corrupted database message. - - Matthijs Joerg Sonnenberger wrote:> Hi all, > I got asked by a nsd user a while ago over the following behavior: > (1) A zone was added or removed in nsd.conf > (2) nsdc rebuild was run > (3) nsdc reload was executed > > Now in syslog the following message can be found: > corrupted database/bad config, zone example.com. > in db /var/db/nsd.db, but not in config file. Cannot load database. > Please rebuild database and start again. > > PR 193 concluded that the requirement to do a restart is ok, it was open > whether the message should be changed. > > I think something like > corrupted database /var/db/nsd.db or modified zone configuration. > Please rebuild the database or restart the daemon. > > is more likely to guide the user to the problem. What do you think? > > Joerg > _______________________________________________ > nsd-users mailing list > nsd-users at NLnetLabs.nl > http://open.nlnetlabs.nl/mailman/listinfo/nsd-users-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIhZveIXqNzxRs6egRAo8QAJ9KSdMVVm/cKe+5HrJ8MdLNOLwS/gCcCBnF h7fTANsNf+qzXtZkGUZcjgY=x7bi -----END PGP SIGNATURE-----