[Pdns-users] NAPTR wildcard records on PDNS version 3.3

Aki Tuomi cmouse at youzen.ext.b2.fi
Thu Jun 5 11:55:51 UTC 2014

On Thu, Jun 05, 2014 at 11:44:23AM +0000, Jonathan Hunter wrote:
> Hi Guys, 
> Sorry to trouble you all, just wondered if anyone can help.
> I am using Powerdns as an ENUM server, and for single records its working well, however for wildcard entries I am having issues.
> Im sure its just syntax from my point of view, however looking at the associated RFCs and guides it all looks good.
> I add a wildcard entry such as below, where query is something like;
> Now with the query number, I want to store this as a variable, prefix it then send it out as a SIP URI.
> So I have added an entry in records such as below;
> INSERT INTO records (id,domain_id,name,type,content,ttl)VALUES('16','3','*.test.domain','NAPTR','100 10 "U" "E2U+sip" "!^\\+44(.*)$!sip:\\1 at!" .','120');
> 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.
> However once I add this, then send a query into the DNS server I get;
>  Exception: Unable to parse DNS TXT "!^\\+44(.*)$!sip:\\1 at!"
> Does anyone have any working wildcard examples I can reference as its quite frustrating now!
> Many thanks
> Jon

Which version are you running?

> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20140605/5e4dbf3f/attachment-0001.sig>

More information about the Pdns-users mailing list