Howto check or nslookup SIP SRV Records on Linux and Windows

Howto check or nslookup SIP SRV Records on Linux and Windows

On Linux we can check or nslookup SIP SRV Records by dig or nslookup commands.

On Windows, we can check and nslookup by nslookup command.

Example:

On Linux

[root@sip ~]# dig _sip._udp.ithelpblog.com SRV
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.6 <<>> _sip._udp.ithelpblog.com SRV
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3027
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1;; QUESTION SECTION:
;_sip._udp.ithelpblog.com. IN SRV;; ANSWER SECTION:
_sip._udp.ithelpblog.com. 1800 IN SRV 10 10 5060 sip.ithelpblog.com.
;; AUTHORITY SECTION:
ithelpblog.com. 1800 IN NS sip.ithelpblog.com.
;; ADDITIONAL SECTION:
sip.ithelpblog.com. 1800 IN A 10.1.1.1
;; Query time: 0 msec
;; SERVER: 10.1.1.1#53(10.1.1.1)
;; WHEN: Tue Jan 22 13:05:23 2013
;; MSG SIZE rcvd: 122
[root@sip ~]#
[root@sip ~]# nslookup
> set type=srv
> _sip._udp.ithelpblog.com
Server: 10.1.1.1
Address: 10.1.1.1#53
_sip._udp.ithelpblog.com service = 10 10 5060 sip.ithelpblog.com.

>

On Windows

C:\Users\kevin>nslookup
Default Server: UnKnown
Address: 192.168.1.1
set type=srv
> _sip._udp.ithelpblog.com
Server: UnKnown
Address: 192.168.1.1DNS request timed out.
timeout was 2 seconds.
Non-authoritative answer:
_sip._udp.ithelpblog.com SRV service location:
priority = 100
weight = 50
port = 5060
svr hostname = sipserver01.ithelpblog.com
_sip._udp.ithelpblog.com SRV service location:
priority = 100
weight = 50
port = 5060
svr hostname = sipserver02.ithelpblog.comithelpblog.com nameserver = b.ns.joker.com
ithelpblog.com nameserver = c.ns.joker.com
ithelpblog.com nameserver = a.ns.joker.com
c.ns.joker.com internet address = 66.32.32.12
b.ns.joker.com internet address = 159.23.68.90
a.ns.joker.com internet address = 5.32.235.23
>

That’s all. Thanks for using IThelpblog.com.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>