<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><font face="times new roman, new york, times, serif"><span style="font-size: 12pt;">Hi,</span></font><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span style="font-size: 12pt;">I'm </span><span style="font-size: 12pt;">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:</span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div><div><font face="times new roman, new york, times, serif">May 18 18:34:00 localhost pdns[8461]: Exception: Unable to parse DNS TXT '"!^3907428(..)$!sip:+3907428\1@mytest.com!"'</font></div><div><font face="times new roman, new york, times, serif">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</font></div><div><br></div></div><div>The content field for the corresponding mysql record looks ok to me:</div><div><br></div><div>100 100 "u" "E2U+sip" "!^3907428(..)$!sip:+3907428\1@<span style="font-family: 'times new roman', 'new york', times, serif;">mytest.com</span>!" . </div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">Also,as a test, replacing the \1 with a fixed number, ie. changing the content field in the mysql db to :</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div>100 100 "u" "E2U+sip" "!^3907428(..)$!sip:+390742822@<span style="font-family: 'times new roman', 'new york', times, serif;">mytest.com</span>!" . </div><div><br></div><div><font face="times new roman, new york, times, serif">makes the error go away.</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px;">I'm running a pdns authoritative server version </span><span style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">3.3.2 with a mysql backend and judging by </span><font face="times new roman, new york, times, serif">https://github.com/PowerDNS/pdns/commit/3526186</font></div><div><font face="times new roman, new york, times, serif">the backslash problems with the parser are meant to have been solved.</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">Any ideas as to whether this is probably a bug or whether there may be a way to address the issue ?</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><font face="times new roman, new york, times, serif">Thanks,</font></div><div><font face="times new roman, new york, times, serif"><br></font></div><div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Giuseppe</div></div></div></body></html>