Sunday, November 17, 2019

Adding SRV record


Online Tool for Looking up DNS records

The online utility in the reference section is able to resolve multiple SRV records. An example site where there are some SRV records is _sip._udp.sip.voice.google.com

Now this can also be found our using

dig _sip._udp.sip.voice.google.com SRV


dig _sip._udp.sip.voice.google.com SRV

; <<>> DiG 9.10.6 <<>> _sip._udp.sip.voice.google.com SRV
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- 41350="" id:="" noerror="" opcode:="" p="" query="" status:="">;; flags: qr rd; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 9
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;_sip._udp.sip.voice.google.com. IN SRV

;; ANSWER SECTION:
_sip._udp.sip.voice.google.com. 300 IN SRV 10 1 5060 sip-anycast-1.voice.google.com.
_sip._udp.sip.voice.google.com. 300 IN SRV 20 1 5060 sip-anycast-2.voice.google.com.

;; AUTHORITY SECTION:
google.com. 17393 IN NS ns3.google.com.
google.com. 17393 IN NS ns4.google.com.
google.com. 17393 IN NS ns2.google.com.
google.com. 17393 IN NS ns1.google.com.

;; ADDITIONAL SECTION:
ns1.google.com. 296707 IN A 216.239.32.10
ns2.google.com. 292461 IN A 216.239.34.10
ns3.google.com. 292653 IN A 216.239.36.10
ns4.google.com. 292689 IN A 216.239.38.10
ns1.google.com. 68329 IN AAAA 2001:4860:4802:32::a
ns2.google.com. 292461 IN AAAA 2001:4860:4802:34::a
ns3.google.com. 292653 IN AAAA 2001:4860:4802:36::a
ns4.google.com. 292689 IN AAAA 2001:4860:4802:38::a

;; Query time: 110 msec
;; SERVER: 64.104.128.236#53(64.104.128.236)
;; WHEN: Mon Nov 04 11:56:20 IST 2019
;; MSG SIZE  rcvd: 407




References:
https://www.a2hosting.in/kb/getting-started-guide/configuring-domain-settings/adding-an-srv-record-to-a-domain
https://centralops.net/co/NsLookup.aspx
https://www.onsip.com/voip-resources/voip-fundamentals/dns-srv-records-sip

No comments:

Post a Comment