Hi, I found a problem with 4.0.0b6 Revision 4029. If a TXT or SPF record has an extra " at the end of the line and I reload, "status" and "stop" are hung up. I need to kill the process and restart to fix. When in the bad state, nsd will still answer queries, but I can't reload any zones, not just the one with the bad record. Below are my steps: $ sudo nsd-control status version: 4.0.0b6 verbosity: 0 $ $ # Add a bad record to a zone file: @ IN TXT "testing"" $ sudo nsd-control reload $ $ tail -f /nsd/nsd.log [1374267077] nsd[5648]: notice: nsd started (NSD 4.0.0b6), pid 5647 [1374267102] nsd[5658]: error: zones/test.com.zone:58: syntax error [1374267102] nsd[5658]: error: zones/test.com.zone:68: EOF inside quoted string [1374267102] nsd[5648]: error: handle_reload_cmd: reload closed cmd channel [1374267102] nsd[5648]: warning: Reload process 5658 failed with status 512, continuing with old database $ $ sudo nsd-control status (no response, need to ^C) ^C$ $ sudo nsd-control stop (no response, need to ^C) ^C$ # Remove the bad record from the zone file. Can't reload. $ sudo nsd-control reload (no response, need to ^C) Thanks Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20130802/2da0a353/attachment.htm>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Christopher, On 08/03/2013 02:23 AM, Christopher LaVallee wrote:> Hi, > > I found a problem with 4.0.0b6 Revision 4029. If a TXT or SPF > record has an extra " at the end of the line and I reload, "status" > and "stop" are hung up. I need to kill the process and restart to > fix. > > When in the bad state, nsd will still answer queries, but I can't > reload any zones, not just the one with the bad record.Fixed two bugs. An error in the parser made the process exit. And an error in that error-handling made nsd-control unresponsive. Thanks for the report! Best regards, Wouter -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSBJ5pAAoJEJ9vHC1+BF+NrcsQAK9/oHt81cUSPAMVlKweFNzE vBy5Vhqs0gwINcahl3RongekiTlk+ZzYZ3rw7w4yS3LljQh3F1mEgJ+qkOgJAtq0 YFS2V/2CVuuN+ULdW2p2SrcglecRgkX0pnQRK/Cs9iLC04DgBIj2YSirDi4Sb117 GK16ZdnoOwBazKZj5dL7jstkkdhtB/L6t3B9SWWwePcFUaomgZ9cfnsbjlLeWeEB R75+VLFT5jEtPkXzFRZalPkMXRwyUvuhyz2I8hD1VIrEROCImRZAzc/O8vIfRre+ BW6wN/ezMKQGiXywaLH3Z74soERf3hbs5mPYfyrtiwNpSTb2Clhv/ySveuXiQz2F dvQOwBBY0x05S2TS4pLsG4c7v7+WXHZKy68RKVvk+Dv43iZLh/IbCAEYG/oQIwB3 VIUtE0Uz/1/mGBkypQ6CMVZKRqcQzQxwjGCamH+j0Dn4lqJPVnPI8mSQYd/cQcGT HIorZyAggjjTu/AyMvCwv1rJFIG0vvLon5H6z7U0523n+x8y1fSTk3tb0+QZ2hyQ mdbuxpWD3kwqSbY+1A/0wdbShm2sfrYCQA/ncpK1dtbc35DDc0iO8GvuXqwtutig Mn9Bb3zS+jPKnyf3pTc4tkz5vpXtXW/s840UpehNBF8/ZhhwGS6fJexASL9hgT3k 3Sy+aoQjtv0d7t9G4LQZ =n7/k -----END PGP SIGNATURE-----