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...@mytest.com!"' 
May 18 18:34:00 localhost pdns[8461]: Exception building answer packet (Unable 
to parse DNS TXT '"!^3907428(..)$!sip:+3907428\1...@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 
_______________________________________________
Pdns-dev mailing list
Pdns-dev@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-dev

Reply via email to