Site icon

The Complete Guide to SRV Records

DNS Records

This is the sixth installment In the of a ten-part series outlining the ten most common Domain Name System (DNS) Records.  In this article I will examine SRV Records, or Service Records.  Find links below to the previous articles:

What is a SRV Record?

An SRV Record defines the hostname and port number of servers for specified services associated with a domain.    If you purchase a mail hosting plan for your domain, you may need to setup an SRV record.  SRV records are used by Microsoft Outlook, Microsoft Office 365, and Macintosh mail among others.  For Microsoft services, the SRV record is used to locate the Autodiscover service.  Networks that utilize Microsoft Windows domain controllers register their network service types for Active Directory in the DNS.

For further reading refer to RFC 2782, which defines an SRV Record as:

   The SRV RR allows administrators to use several servers for a single
   domain, to move services from host to host with little fuss, and to
   designate some hosts as primary servers for a service and others as
   backups.

SRV Records Format

SRV Records are in the following format:

_service._protocol.name. Time-To-Live class SRV priority weight port target.

As an example, these are my two SRV records setup on one of my domains.  This specific domain has Microsoft Office services installed for my domain:

_sip.tls.jasonofflorida.com 3600 IN SRV 100 1 443 sipdir.online.lync.com
_sipfederationtls._tcp.jasonofflorida.com 3600 IN SRV 100 1 5061 sipfed.online.lync.com

SETTING UP A SRV RECORD

Below is an image for adding an SRV record on a domain I have hosted through GoDaddy.  Beneath the image, I have defined each term, and also given the limitations and requirements of each field.

If you received some added value from my post, please like and follow us on Facebook, Twitter, and LinkedIn, or subscibe to jasonofflorida.com.  Next in the DNS Records Series I will discuss the PTR Record, or Pointer Record.

Exit mobile version