Skip to main content

LRN lookup using DNS ENUM

GET 

/DNS ENUM Request

Uses DNS ENUM to retrieve the local routing number information (LRN).

Requires IP Authentication to be setup through the portal and associated with LRN under Telco Data .

Send a DNS ENUM Request to lrnlookup.telnyx.com with the number you wish to dip with its digits reversed and separated by the period character then your domain.

For example to dip the number 1234546789:

dig @lrnlookup.telnyx.com -p 53 9.8.7.6.5.4.3.2.1.example.com. -t NAPTR

If a number has been ported the response wi contain the dip indicator (npdi;) as well as the LRN (rn=+1..), otherwise these fields will be missing.

Sample response:

; <<>> DiG 9.9.5-11ubuntu1.3-Ubuntu <<>> @lrnlookup.telnyx.com -p 53 0.6.2.0.4.6.2.7.4.8.9605a9db-acb7-488c-9fdf-9532ce149e16.example.com -t NAPTR
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6734
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;9.8.7.6.5.4.3.2.1.example.com. IN NAPTR
;; ANSWER SECTION:
9.8.7.6.5.4.3.2.1.example.com. 10 IN NAPTR 10 10 "u" "E2U+sip" "!^.*$!sip:123456789\;rn=+1123455555\;[email protected]!" .
;; Query time: 23 msec
;; SERVER: 10.1.129.28#53(10.1.129.28)
;; WHEN: Tue May 31 13:36:15 CDT 2016
;; MSG SIZE rcvd: 169

Request

Responses

301: SIP 302 redirect

Loading...