Follow

How do I create an SRV record?

  • Applies to: All Service Types
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Account Center access

Overview

An SRV record is a special type of DNS entry used to specify not just an IP, but also a port. (mt) Media Temple only uses SRV records to allow automatic configuration of some mail programs. Other services or web hosts may need you to manually configure a specific SRV record for other purposes.

Requirements

These instructions only apply if your domain name is using (mt) Media Temple's nameservers. This means you must have NS1.MEDIATEMPLE.NET and NS2.MEDIATEMPLE.NET designated as your nameservers with your registrar. For more information, please see (mt) Media Temple's DNS/Nameserver information.

Instructions

Automatically add a Mail Config SRV for (mt) Mail

  1. Sign into the Account Center.
  2. Click on the domain you'd like to create the SRV record, then scroll down to the DNS & Zone Files section.
  3. Click the Edit DNS Zone File icon.

    acGRIDmainmenu_dnszone_edit

  4. Scroll down and click the Add Mail Config button, which will then ask for you to confirm the creation of a CNAME and SRV record. 

    email_record.png

  5. The record will be automatically created for your domain. It will look similar to:
    _autodiscover._tcp.example.com

To perform a DNS lookup to ensure you've entered the record correctly, you can use the "dig" command to look it up:


dig any _autodiscover._tcp.example.com

You should see a reply with information similar to the following:


;; ANSWER SECTION:
_autodiscover._tcp.example.com. 43200 IN SRV 0 5 80 webmail.example.com.

Manually configure your SRV record

READ ME FIRST
This article is provided as a courtesy. Configuration of custom DNS records is not covered by (mt) Media Temple's Statement of Support. Please take a moment to review the Statement of Support.

Advanced Support can help!

If you're having trouble with the steps in this article, additional assistance is available via Advanced Support, our premium services division. For more information on what Advanced Support can do for you, please click here.

In order for some third-party services to function with your domain name, you will be required to configure a custom SRV record. If this is needed, instructions should be available from the service that requires it. For full instructions on adding a DNS record, please see the following article:

SRV records use the following format:

_service._protocol.name. TTL class SRV priority weight port target.

Example:

_service._tcp.gs-example.com. 43200 IN SRV 0 5 5060 server.gs-example.com.

More information on what each item means can be found in this Wikipedia article.

Since the Account Center does not have separate fields for each of the required parameters, you will need to enter the record as follows:

  1. Click the "Add a record" button at the bottom of the DNS editor.
  2. Enter the service and protocol portions in the Name field of the DNS editor.
  3. Ignore name, as the domain name is added for you, based on the domain whose DNS you are editing. TTL and class portions are also automatically set and can be ignored
  4. Select SRV from the Type drop-down menu.
  5. In the Data field, enter the remaining items. The order of entry can be found in the example above.
  6. That's it! Using the data shown in the example above, your SRV record would look like this:

    srv_record

TIP:
Before you make any other type of DNS change, it's a good idea to consider whether you will need to lower your TTL. For more information and detailed instructions, please see: How can I lower or raise the TTL for my domain?

Resources

Was this article helpful?
1 out of 1 found this helpful

Comments