Howto configure or enable SIP SRV Records on Bind DNS Server

Howto configure or enable SIP SRV Records on Bind DNS Server

1. Configure SIP SRV Record on Bind DNS Server

[root@sip ~]# vi /var/named/ithelpblog.com.zone
$TTL 1800
@ IN SOA ns1.ithelpblog.com. root.ithelpblog.com. (
16375462 ; serial#
1800 ; refresh, seconds
1800 ; retry, seconds
1800 ; expire, seconds
1800 ) ; minimum TTL, secondsithelpblog.com. IN NS sip.ithelpblog.com.;; RECORDS: proxy
_sip._udp.ithelpblog.com. IN SRV 10 10 5060 sip.ithelpblog.com.
_sip._tcp.ithelpblog.com. IN SRV 10 10 5060 sip.ithelpblog.com.
_sips._tcp.ithelpblog.com. IN SRV 10 10 5061 sip.ithelpblog.com.
;; RECORDS: a
sip.ithelpblog.com. IN A 10.10.10.10

2.  DNS Query for SIP SRV Records for IThelpblog.com

[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.10.10.10
;; Query time: 0 msec
;; SERVER: 10.10.10.10#53(10.10.10.10)
;; 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.10.10.10
Address: 10.10.10.10#53
_sip._udp.ithelpblog.com service = 10 10 5060 sip.ithelpblog.com.

>

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>