[Pdns-dev] backslash error in parse DNS TXT on version 3.3.2 Authoritative Server

Giuseppe Cardone g.cardone at unidata.it
Mon May 18 19:06:30 CEST 2015


Hi, 


I'm trying to perfom ENUM lookups but get a failure like the following when the response is meant to include a regular expression which includes a backslash: 



May 18 18:34:00 localhost pdns[8461]: Exception: Unable to parse DNS TXT '"!^3907428(..)$!sip:+3907428\1 at mytest.com!"' 
May 18 18:34:00 localhost pdns[8461]: Exception building answer packet (Unable to parse DNS TXT '"!^3907428(..)$!sip:+3907428\1 at mytest.com!"') sending out servfail 


The content field for the corresponding mysql record looks ok to me: 


100 100 "u" "E2U+sip" "!^3907428(..)$!sip:+3907428\1@ mytest.com !" . 




Also,as a test, replacing the \1 with a fixed number, ie. changing the content field in the mysql db to : 


100 100 "u" "E2U+sip" "!^3907428(..)$!sip:+390742822@ mytest.com !" . 


makes the error go away. 


I'm running a pdns authoritative server version 3.3.2 with a mysql backend and judging by https://github.com/PowerDNS/pdns/commit/3526186 
the backslash problems with the parser are meant to have been solved. 


Any ideas as to whether this is probably a bug or whether there may be a way to address the issue ? 


Thanks, 



Giuseppe 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20150518/c55788ee/attachment.html>


More information about the Pdns-dev mailing list