spf-discuss
[Top] [All Lists]

RE: TXT lookup problem

2004-11-19 09:13:14
On Fri, 19 Nov 2004, Stefan Engelbert wrote:

your DNS library is not broken. Its seems that on pobox.com
they forgot to put the record in double quotes. Thats all.
I have seen lots of these records in the wild and I always wanted
to ask if the DNS libraries should cater for these kind of
records?

I have changed my code to glue together the pieces within a TXT
record (I think).

<                 return [t for a in self.dns(domainname, 'TXT') for t in a]
---
                return [''.join(a) for a in self.dns(domainname, 'TXT')]

Could this break anything?

-- 
              Stuart D. Gathman <stuart(_at_)bmsi(_dot_)com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.


<Prev in Thread] Current Thread [Next in Thread>