Article overview

Help article

I want to create an SRV record for my domain name

In this article, we explain how to set an SRV record within the DNS settings of your domain name.

An SRV record is used to define the location of servers or certain services. For example, the SRV record is used to link a domain name to a 'Teamspeak' or 'Minecraft' server.

However, the most used application of an SRV record is to link Microsoft's 'Office365' to your domain name. In this article, we will therefore explain how you set the SRV records for Office365 specifically. For detailed information about setting up Office365, click here.


Where do I add an SRV record?

You can add all your DNS records easily and free of charge via your control panel. Go to the 'Domain & Hosting' tab and click the domain in the left column for which you want to set the SRV record (do not check).

Now scroll to 'Advanced Domain Management', followed by 'DNS'.

advanced domain settings example

If you do not see this yet, first click 'Enable advanced domain management'. Here you will see an overview of your DNS records.


How do I set an SRV record?

An SRV record is made up of the following parts. When setting up an SRV record, it is important that you stick to the right order.

  • Service
  • Protocol
  • Priority
  • Weight (here you can indicate which record must be used first when using SRV records with the same priority)
  • Port
  • Target

In the example below, you can see which parts belong to the SRV records of Office365.

Office365 SRV records

We will now indicate how you can add all these components by adding two SRV records in your control panel.


Name

In the 'Name' of an SRV record, first the service is entered, and then the protocol. In the image above you can find the service and protocol of the two SRV records for Office365.

The first SRV record contains the service '_sip' and the protocol '_tls'.

The second SRV record contains the service '_sipfederationtls' and the protocol '_tcp'.

In the example below, you'll see how you enter the service and the protocol in a DNS record in your control panel.

srv record name example


TTL

The 'TTL' of a DNS record determines how long the record can remain in the cache. We recommend keeping the TTL low, for example at 5 minutes or 1 hour.


Type

Choose 'SRV' under 'Type' to create an SRV record.


Value

In the value of an SRV record, provide the priority, the weight, the port and the target consecutively.

In the value of the SRV record named '_sip._tls' you use the following components:

  • Priority: 100
  • Weight: 1
  • Port: 443
  • Target: sipdir.online.lync.com.

In the value of the SRV record named '_sipfederationtls._tcp' you use the following components:

  • Priority: 100
  • Weight: 1
  • Port: 5061
  • Target: sipfed.online.lync.com.

Please note the final dot of the 'Target' of both SRV records. This is required for the record to function properly.


End result

The complete SRV records look like this:

srv record example

Keep in mind that it can take up to 24 hours before changes to DNS settings to be implemented globally. This is related to the way external systems process these changes. You usually see these changes well within 24 hours.


In this article, we explained how to add SRV records within your DNS settings. Specifically, the SRV records for Office365 have been used as an example.

To use Office365, additional steps and DNS records are required. Read this article to see how you can fully associate your domain with Office365.

Based on the explanation of this article, you will also be able to add SRV records yourself. More information about SRV records and their syntax can be found in RFC 2782 as described by the IETF.

Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘Contact Us’ button at the bottom of this page.

Do you have a good idea?

Give us your idea! If it's popular we'll add it to the wishlist!

Has this article been helpful?

Create an account or log in to leave a rating.

Comments

Create an account or log in to be able to leave a comment.

Are you stuck?

Ask one of our specialists to assist you

Contact us