[nsd-users] nsd-zonec SIGSEGV when record is longer than 255 characters

Peter Koch pk at denic.de
Mon Aug 27 20:42:50 UTC 2012


On Mon, Aug 27, 2012 at 09:13:00PM +0200, Dmitry Kohmanyuk wrote:

> ...but long TXT records are not garbage...

this is a common misperception. RFC 1035 defines TXT RDATA as list
of one or more strings:

3.3.14. TXT RDATA format

    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
    /                   TXT-DATA                    /
    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

where:

TXT-DATA        One or more <character-string>s.

with 3.3 defining "<character-string> is a single
length octet followed by that number of characters."

Now, it was at least common to 'auto magically' split
longer TXT zone file format representations, but IIRC
in the context of DNSSEC this practice lost a few friends.

Consistent refusal sounds OK to me.

-Peter



More information about the nsd-users mailing list