[nsd-users] nsd segfaults when serving a TXT record with two strings

Anand Buddhdev anandb at ripe.net
Mon Jul 4 15:29:54 UTC 2011


On 04/07/2011 17:15, Stephane Bortzmeyer wrote:

> This zone file, which seems legal (two strings in one TXT record, see
> RFC 1035, section 3.3.14 which says "one or more"):
> 
> TXT     "Name of Facility or similar" "City, Country"
> 
> crashes nsd when queried with QTYPE=TXT or ANY:
> 
> [1309792314] nsd[21571]: warning: server 21573 died unexpectedly with status 11, restarting
> 
> nsd 3.2.8 on Debian 6.0.1 "squeeze"

I have different behaviour, which also looks wrong. NSD 3.2.8 running on
OSX 10.6.8, returns just the first string, but not the second, ie. if I
have:

TXT	"string 1" "string 2"

then querying NSD for TXT or ANY only returns "string 1".

Anand



More information about the nsd-users mailing list