Skip to main content

SRV record

WHAT IS THE SRV RECORD?

SRV corresponds to the abbreviation for SeRVer to help you find the availability of a particular service with a certain protocol for a domain. You can give more servers, define preferences, and specify which port the service is running.

It is similar to the record of the SRV record for the long-established MX record, in fact its generalization: it is possible to specify SRV records not only for correspondence but also for any service, which can be prioritized and weighted by parameters, and finally, what kind of protocol and port we provide given service.

A domain name may have more SRV records.

EXAMPLE OF THE SRV RECORD

Two typical SRV records can be seen below:

_sip._tcp.example.com.   3600 IN    SRV 10       60     5060 bigbox.example.com.
_sip._udp.example.com.   3600 IN    SRV 10       20     5060 smallbox1.example.com.

SRV RECORD FORMAT

Prioritycontains the priority value

Fields name Description
Name In general, the symbolic name of the service (_sip) is provided, and the service is protocols (_tcp or _udp). This is followed by the domain or subdomain name.
TTL this field contains record lifetime in seconds. This is the time until the entry is stored in the resolver.
Weight contains the weight value
Port contains the port on which the given service is available
SRV target contains the target address

ADDING SRV RECORD

  1. Sign in with https://admin.dotroll.com with your username and password
  2. In the top menu bar, click the Domains / My Domains menu.
  3. Select the domain name for which you want to make the change and then click on it.
  4. In the Manage box on the left, select Manage DNS.
  5. At the bottom of the page, click Add.
    • In the first field, you can enter a subdomain name, or leave blank
    • the TTL value can be selected in the second field, but typically the default is 1 hour
    • select SRV from the next drop-down list.
    • enter the priority
    • enter the weight
    • enter the port
    • enter the name of the service provider in the last field
  6. Then click Save Changes.