• bg
  • en

Hosting, Domains, Virtual Private Servers (VPS), Managed VPS, SSL Certificates

What Is an SRV Record?

srv, srv record, dns srv, dns srv record

SRV (Service record) is a DNS resource record, which defines the location of servers for specified services.

SRV record is used to describe specified services and servers such as autodiscover, CalDAV, CardDAV, TeamSpeak 3, Minecraft, Skype Business Online (SIP), Office 365 (SIP), etc.

The SRV record allows customers to access a specific service on the web, located on a certain host or accessible only on a specific port.

SRV record setup

You can set up the SVR record in your customer profile, if you are using a DNS hosting for your domain.

You can set up the SVR record through the Advanced DNS editor in cPanel in case you have set up the name servers for a specific hosting.

SRV record format TTL priority weight port target.

service - the name of the services, for example _sip., _caldav., etc.; the service names and their assigned ports are standardized; full list is available at IANA: Service Name and Transport Protocol Port Number Registry.

proto - the transport protocol – usually either TCP or UDP;

name - the domain name, ending in a dot (".");

TTL - standard DNS refresh time;

priority - similar to the priority for MX records, lower value means a higher priority;

weight - relative weight for records with the same priority, higher value means higher priority;

port - TCP or UDP port where the service can be found;

target - the host name of the server, providing the service, ending in a dot ("."); there should be an A record created that points to the
server providing the service.

You can verify the SRV record with dig or nslookup, for example:

dig SRV

host -t SRV

nslookup -querytype=srv

A few examples of SRV records for specific services:

Office 365 3600 100 1 443 3600 100 1 5061

Minecraft - game server 3600 0 5 25565

All rights reserved © 2005-2019 ,