Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are many possible ways to dynamically update records in running DNS zones. Here we list the ones we know.

 


Generating A DNS Key

dnssec-keygen -a HMAC-MD5 -b 512 -n USER <NAME_OF_KEY_HERE>

...

All of the following commands are input from the nsupdate command line. You should first have a key that you can use for updating a single zone.

ENUM

 


update add 3.2.1.enum.org 60 NAPTR 100 10 "u" "E2U+sip" "!^.*$!sip:123@freeswitch.org!" .

If a user dials 123, this will route the call to 123@freeswitch.org provided enum is correctly configured to use your zone.

ISN

 


update add 3.2.1.543.freenum.org 60 NAPTR 100 10 "u" "E2U+sip" "!^.*$!sip:123@freeswitch.org!" .

This would route 123*543 to 123@freeswitch.org

 


NAPTR

for bind find the example.com zone file, you should put this near your _sip._udp records.

Code Block
$ORIGIN example.com.
; NAPTR record for SIP Secure TLS (TCP) example.com
;     priority: 50  weight: 0
;     protocol: "SIPS+D2T"  regex: ""  uri: _sips._tcp.example.com
;     example.com
@           IN      NAPTR   50 0 "s" "SIPS+D2T" "" _sips._tcp
; NAPTR record for SIP TCP example.com
;     priority: 90  weight: 0
;     protocol: "SIP+D2T"  regex: ""  uri: _sip._tcp.example.com
;     example.com
@           IN      NAPTR   90 0 "s" "SIP+D2T" "" _sip._tcp
; NAPTR record for SIP UDP example.com
;     priority: 100  weight: 0
;     protocol: "SIP+D2U"  regex: ""  uri: _sip._udp.example.com
;
@           IN      NAPTR   100 0 "s" "SIP+D2U" "" _sip._udp
 

Under Windows Server 2008, SR2 you can also add them. Take note of 'Regex'.

...

See Also

Function_sofia_dig

Enterprise deployment DNS SRV