Service record (SRV record) is a specification of data in the Domain Name System defines the location, I. e. The hostname and port number, of servers for specified services.
It is simple to add SRV records for the domain.How ever weused to face confusion while adding the record. I hope this article will help you to understand more about SRV record and how to set them correctly for a domain.
An SRV record has the form:
_service._proto.name TTL class SRV priority weight port target
service: the symbolic name of the desired service.
proto: the transport protocol of the desired service; this is usually either TCP or UDP.
name: the domain name for which this record is valid.
TTL: standard DNS time to live field.
class: standard DNS class field (this is always IN).
priority: the priority of the target host, lower value means more preferred.
weight: A relative weight for records with the same priority.
port: the TCP or UDP port on which the service is to be found.
target: the canonical hostname of the machine providing the service.
Example:
_autodiscover._tcp.testsite.com. 14400 IN SRV 0 0 443 remote.testsite.com
RetrievingaSRV record
$ dig _autodiscover._tcp.testsite.com
$ dig +trace _autodiscover._tcp.testsite.com SRV
Leave A Comment
You must be logged in to post a comment.