Re: [Pdns-users] PowerDNS returns a malformed response when queried for a TXT record larger than 257 characters.

2010-03-24 Thread Julian Mehnle
I wrote: > The problem is that while a TXT record can contain multiple "strings" > (the parts you have to enclose in double quotes in TXT records in both > BIND and PowerDNS), each string can only be 256 bytes long at maximum > by design -- one length octet plus 255 bytes of text (RFC 1035). If >

Re: [Pdns-users] PowerDNS returns a malformed response when queried for a TXT record larger than 257 characters.

2010-03-24 Thread Julian Mehnle
Augie Schwer wrote: > PowerDNS returns a malformed response when queried for a TXT record > larger than 257 characters. > > [...] > > PowerDNS returns NOERROR and returns as much data as it can which ends > up creating the corrupt packet. > > Admittedly one shouldn't put bad data in (the above re

[Pdns-users] PowerDNS returns a malformed response when queried for a TXT record larger than 257 characters.

2010-03-24 Thread Augie Schwer
PowerDNS returns a malformed response when queried for a TXT record larger than 257 characters. dig +short txt 258txt.schwer.us @a.auth-ns.sonic.net ;; Warning: Message parser reports malformed message packet. PowerDNS Authoritative version 2.9.22 Record in the DB looks like this : 258txt.schwe