Difference between revisions of "VoIP: ENUM Test Server ENUM"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 4: | Line 4: | ||
nameserver 127.0.0.1 | nameserver 127.0.0.1 | ||
+ | |||
+ | Restart BIND | ||
+ | |||
+ | /etc/init.d/bind9 restart | ||
+ | |||
Asumsi nomor | Asumsi nomor |
Revision as of 11:53, 20 April 2010
Pastikan resolv.conf benar
vi /etc/resolv.conf
nameserver 127.0.0.1
Restart BIND
/etc/init.d/bind9 restart
Asumsi nomor
+6252000 0.0.0.2.5.2.6.e164.id
Mengunakan perintah dig di lokalhost BIND
dig NAPTR 0.0.0.2.5.2.6.e164.id @127.0.0.1
Harus keluar jawaban kira-kira berbunyi
; <<>> DiG 9.6.1-P1 <<>> NAPTR 0.0.0.2.5.2.6.e164.id @127.0.0.1 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10744 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;0.0.0.2.5.2.6.e164.id. IN NAPTR ;; ANSWER SECTION: 0.0.0.2.5.2.6.e164.id. 86400 IN NAPTR 10 100 "u" "E2U+sip" "!^.*$!sip:2000@192.168.0.3!" . ;; AUTHORITY SECTION: 5.2.6.e164.id. 86400 IN NS ns.warnet.co.id. ;; ADDITIONAL SECTION: ns.warnet.co.id. 86335 IN A 76.163.126.2 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue Nov 24 08:12:11 2009 ;; MSG SIZE rcvd: 137