[nsd-users] EOF inside quoted string
clavallee at edgecast.com
Sat Aug 3 02:23:11 CEST 2013
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
# Add a bad record to a zone file:
@ IN TXT "testing""
$ sudo nsd-control reload
$ tail -f /nsd/nsd.log
 nsd: notice: nsd started (NSD 4.0.0b6), pid 5647
 nsd: error: zones/test.com.zone:58: syntax error
 nsd: error: zones/test.com.zone:68: EOF inside quoted
 nsd: error: handle_reload_cmd: reload closed cmd channel
 nsd: warning: Reload process 5658 failed with status
512, continuing with old database
$ sudo nsd-control status (no response, need to ^C)
$ sudo nsd-control stop (no response, need to ^C)
# Remove the bad record from the zone file. Can't reload.
$ sudo nsd-control reload (no response, need to ^C)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nsd-users