Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In Bind 9.8.1 Ubuntu server 12.04, I configured ENUM (Electronic Number Mapping).

1) Create named.conf.enum file in /etc/bind named.conf.enum content:

zone "adras.af" { type master; file "/etc/bind/db.adras.af"; };

2) Include the named.conf.enum in named.conf file

include "/etc/bind/named.conf.enum";

3) Make the db.adras.af file:

$TTL 86400

e164.arpa. IN SOA servera.adras.af root.adrasnew.af. (

2004011522 ; Serial

21600 ; Refresh

3600 ; Retry

604800 ; Expire

3600 ; Minimum TTL

adras.af. IN NS servera.adras.af.

;

servera.adras.af. IN A 192.168.1.2

0.9.8.7.6.5.4.3.2.1.e164.arpa. IN NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:info@adrasnew.af!".

0.9.8.7.6.5.4.3.2.1.e164.arpa. NAPTR 10 101 "u" "E2U+h323" "!^.*$!h323:info@adrasnew.af!".

0.9.8.7.6.5.4.3.2.1.e164.arpa. NAPTR 10 102 "u" "E2U+msg" "!^.*$!mailto:info@adrasnew.af!".

8.1.2.7.5.9.3.3.1.6.1.e164.arpa. NAPTR 100 10 "U" "SIP+E2U" "!^.*$!sip:16133957218@adrasnew.af!".

I configured the ENUM in Bind 9 like above, Bind 9 was successfully restarted, when we test our configuration:

dig @0.9.8.7.6.5.4.3.2.1.e164.arpa -t NAPTR

The server displays this message:

dig: couldn't get address for '@0.9.8.7.6.5.4.3.2.1.e164.arpa':not found

share|improve this question

1 Answer 1

you are querying the record you want to look up, you need to query the dns server.

dig @xxx.xxx.xxx.xxx 0.9.8.7.6.5.4.3.2.1.e164.arpa NAPTR

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.