Subject: | Parse TXT records with a ; |
Date: | Fri, 02 Oct 2009 14:19:08 +0200 |
To: | bug-DNS-ZoneParse [...] rt.cpan.org |
From: | Pierre LEBRECH <pierre.lebrech [...] laposte.net> |
Hello,
I'm using libdns-zoneparse-perl from Debian etch on an x86_64 machine.
The PERL version is v5.8.8. Linux kernel is 2.6.27.9.
description :
Parsing a TXT record where the $rdata part is containing a ";" crashes.
So, the concerned TXT record is dropped from the TXT array. Such TXT
records (with ;) are used for DKIM like this :
selector1._domainkey IN TXT “k=rsa; t=s; p=MHwwDQYJK[...]OprwIDAQAB”
When parsing the concerned record, I get an "Unparseable line" error
message.