<div dir="ltr">Hi list<div><br></div><div>I am trying to get ENUM to work with PowerDNS Authoritative Server 3.4.3 and PostgreSQL but i am not able to resolve the record.</div><div><br></div><div>Is someone having an working example ?</div><div><br></div><div>I have tried with:</div><div><br></div><div>INSERT INTO records (domain_id, name, type, content, ttl, prio) VALUES (1,'8.7.6.5.4.3.2.1.enum.example.tld','NAPTR','100 10 \"u\" \"E2U+sip\" \"!^.*$!<a href="mailto:sip%3A12345678@10.0.0.10">sip:12345678@10.0.0.10</a>!\" ."',120,0);</div><div><br></div><div>but dig @<a href="http://127.0.0.1">127.0.0.1</a> <a href="http://8.7.6.5.4.3.2.1.enum.example.com">8.7.6.5.4.3.2.1.enum.example.com</a> NAPTR is not resolving it correctly:</div><div><br></div><p style="margin:0px;font-size:11px;font-family:Menlo">; <<>> DiG 9.10.2 <<>> @<a href="http://127.0.0.1">127.0.0.1</a> <a href="http://8.7.6.5.4.3.2.1.enum.example.com">8.7.6.5.4.3.2.1.enum.example.com</a> NAPTR</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">; (1 server found)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; global options: +cmd</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; Got answer:</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 62968</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; WARNING: recursion requested but not available</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; OPT PSEUDOSECTION:</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">; EDNS: version: 0, flags:; udp: 1680</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; QUESTION SECTION:</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;<a href="http://8.7.6.5.4.3.2.1.enum.example.com">8.7.6.5.4.3.2.1.enum.example.com</a>. IN<span class="" style="white-space:pre">       </span>NAPTR</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; AUTHORITY SECTION:</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><a href="http://example.com">example.com</a>.<span class="" style="white-space:pre">             </span>3600<span class="" style="white-space:pre">      </span>IN<span class="" style="white-space:pre">        </span>SOA<span class="" style="white-space:pre">       </span>localhost. <a href="http://ahu.ds9a.nl">ahu.ds9a.nl</a>. 1 10800 3600 604800 3600</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; Query time: 0 msec</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; SERVER: 127.0.0.1#53(127.0.0.1)</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; WHEN: Sat Apr 18 20:12:01 WGST 2015</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">;; MSG SIZE  rcvd: 117</p>
<p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><div><br></div><div><br></div><div>Thomas </div></div>