[Pdns-users] PDNS and ENUM

Thomas Elsgaard thomas.elsgaard at gmail.com
Sun Apr 19 00:51:14 UTC 2015


Hi list

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.

Is someone having an working example ?

I have tried with:

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\"
\"!^.*$!sip:12345678 at 10.0.0.10!\" ."',120,0);

but dig @127.0.0.1 8.7.6.5.4.3.2.1.enum.example.com NAPTR is not resolving
it correctly:

; <<>> DiG 9.10.2 <<>> @127.0.0.1 8.7.6.5.4.3.2.1.enum.example.com NAPTR

; (1 server found)

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 62968

;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; WARNING: recursion requested but not available


;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 1680

;; QUESTION SECTION:

;8.7.6.5.4.3.2.1.enum.example.com. IN NAPTR


;; AUTHORITY SECTION:

example.com. 3600 IN SOA localhost. ahu.ds9a.nl. 1 10800 3600 604800 3600


;; Query time: 0 msec

;; SERVER: 127.0.0.1#53(127.0.0.1)

;; WHEN: Sat Apr 18 20:12:01 WGST 2015

;; MSG SIZE  rcvd: 117




Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20150418/f6641ba5/attachment.html>


More information about the Pdns-users mailing list