<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Guys, <div><br></div><div>Sorry to trouble you all, just wondered if anyone can help.</div><div><br></div><div>I am using Powerdns as an ENUM server, and for single records its working well, however for wildcard entries I am having issues.</div><div><br></div><div>Im sure its just syntax from my point of view, however looking at the associated RFCs and guides it all looks good.</div><div><br></div><div>I add a wildcard entry such as below, where query is something like;</div><div><br></div><div>6.6.6.9.9.3.4.3.4.1.4.4.test.domain</div><div><br></div><div>Now with the query number, I want to store this as a variable, prefix it then send it out as a SIP URI.</div><div><br></div><div>So I have added an entry in records such as below;</div><div><br></div><div><div>INSERT INTO records (id,domain_id,name,type,content,ttl)VALUES('16','3','*.test.domain','NAPTR','100 10 "U" "E2U+sip" "!^\\+44(.*)$!sip:\\1@10.10.10.10!" .','120');</div></div><div><br></div><div>With the idea that the query number will be stored in the back-referenced parameter \\1 and all will be well and I can use it to generate the request.</div><div><br></div><div>However once I add this, then send a query into the DNS server I get;</div><div><br></div><div><br></div><div><div> Exception: Unable to parse DNS TXT <span style="font-size: 12pt;">"!^\\+44(.*)$!sip:\\1@10.10.10.10!"</span></div></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Does anyone have any working wildcard examples I can reference as its quite frustrating now!</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Many thanks</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Jon</span></div><div><br></div>                                     </div></body>
</html>