Comment 3 for bug 458223

Revision history for this message
Marcin Cieślak (saperski) wrote :

I have run into this recently on one of the Ubuntu servers. However, this does not seem to be related
to Ubuntu or Debian at all.

The problem is that upstream DNS is running:

$ dig +short chaos txt version.bind.
"PowerDNS Recursor 3.1.4 $Id: pdns_recursor.cc 917 2006-11-07 12:23:51Z ahu $"

PowerDNS 3.1.4 is known not to support multi-line TXT entries.
For details see my collection of links here:

http://delicious.com/saper/powerdns+txt+bug

The results returned are:

; <<>> DiG 9.5.1-P2.1 <<>> in txt _aiccu.sixxs.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29033
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_aiccu.sixxs.net. IN TXT

;; ANSWER SECTION:
_aiccu.sixxs.net. 2478 IN TXT "# http://www.sixxs.net/tools/aiccu/brokers/"
_aiccu.sixxs.net. 2478 IN TXT "SixXS"
_aiccu.sixxs.net. 2478 IN TXT "# AICCU TIC/TSP Servers"
_aiccu.sixxs.net. 2478 IN TXT "# <name> | <url> | website | tld's"

;; Query time: 10 msec
;; SERVER: 213.134.134.134#53(213.134.134.134)
;; WHEN: Fri May 7 23:01:53 2010
;; MSG SIZE rcvd: 191

And consequently, "aiccu brokers" returns only "SixXS|".

While this is not per se a bug in AICCU, I think we can make it a bit more careful
about what is returned from DNS and to ignore all records shorter than 4 "columns".

Attached patch does this and fixes the debian package issue (I have re-generated
the package and it installs and configures fine).

I didn't check whether it compiles on Windows.