Follow

How can I change the DNS records for my domain?

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

ct_kb_1

CloudTech Can Help!

If you're having trouble with the steps in this article, additional assistance is available via CloudTech, our premium services division. Our expert engineers can tweak and tune your server for optimal performance. For more information on what CloudTech can do for you, please click here.

 

Overview

A zone file is a small set of instructions for resolving the specified Internet domain name to the appropriate number form of an Internet Protocol (IP) address. These instructions reside in a file on the server that administers the site.

This article explains how to edit your zone file hosted on the (mt) Media Temple nameservers, NS1.MEDIATEMPLE.NET and NS2.MEDIATEMPLE.NET.

 

Requirements

For your changes to be effective, you must have NS1.MEDIATEMPLE.NET and NS2.MEDIATEMPLE.NET designated as your nameservers with your registrar. See (mt) Media Temple's DNS/Nameserver information for more (mt) Media Temple nameserver details.

It is also possible to edit your zone file here, in anticipation of an upcoming change, to using (mt) Media Temple's nameservers even if you don't currently use them for your domain.

Check your current nameservers at Whois.net.

 

Video

Watch this video to learn how to add or edit your DNS records.

 

Instructions

NOTE:

Any changes to your DNS zone file will need to propagate across the Internet. As a general rule, we recommend to allow 24-48 hours for DNS propagation. Read below on how to lower your TTL value for a smooth transition.

  1. Sign into the Account Center.
  2. Select the domain you want to edit from the DOMAINS tab.
    ac_mainmenu_domains
  3. Scroll down to the DNS & ZONE FILES section.
  4. Click on Edit DNS Zone File.
    acGRIDmainmenu_dnszone_edit
  5. Make your desired changes - see below for details. When you're done, click Save.

Instructions

NOTE:

Any changes to your DNS zone file will need to propagate across the Internet. As a general rule, we recommend to allow 24-48 hours for DNS propagation. Read below on how to lower your TTL value for a smooth transition.

  1. Sign into the Account Center.
  2. Select the domain you want to edit from the DOMAINS tab. Alternatively, select your WordPress service from the services list. 
    ac_mainmenu_domains
  3. Click on manage site. This is found by clicking on the preview box of the domain that you wish to edit. 
  4. From the My Site menu on the left, Click on Domains.
  5. Click the manage button that's located to the right of the domain that you wish to edit.
  6. Click on Edit DNS Zone File.
  7. Make your desired changes - see below for details. When you're done, click Save.

Updating and adding records

  1. Follow the steps in the earlier section to access your zone file.
  2. Click directly in one of the text fields of an existing record to change it or to add a new record, click the + ADD ROW button.
    acGRIDmainmenu_dnszone_edit_add_row
  3. Enter your information for the new record.

    • Name: Enter a subdomain of your domain or leave the box blank if you would like to edit your top-level domain. Example: store if you would like store.gs-example.com.

      Edit_zone_03_a

    • Type: Choose one from the dropdown menu. A for an IP, CNAME for a domain, MX for mail.


      Edit_zone_03_b

    • Data: Enter an IP address or domain name. Domain names must end with a period. MX records must also have a number before the domain, separated by a single space. 

      • MX example: 10 mail.example.com.

      zone_2

  4. Click the SAVE CHANGES button to save your changes.
    acGRIDmainmenu_dnszone_edit_save

TXT records

TXT records are often used for domain ownership verification and to create Sender Policy Frameworks (SPF) for email security. 

The character limit for TXT records is 255. In some instances, you may need to exceed this character limit for a single record. In order to do this, divide the string into blocks that do not exceed 255 characters and concatenate them using quotes. 

  • Ex: "12..." "34..."

Below is a sample key for a DKIM TXT record that exceeds 255 character and instructions for adding it. 

Sample 2048 bit key that exceeds 255 characters:

MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4TWhAkE9cQBB7g2C6jGb
4jdiaShZEtWBkupXFtBdOdJTvrMTAEPIhZske9+bp/ILDYbWG0Tzw7DcmWoTPF+J
bNDH4mN8hSy1pPxyxsmvtFqr5bMlaWl42arkWR3Zzq9A/ReMcEfZ5avwP2JubH72
Bg0SP6NNfrUD9sAWtzOIAt1rT1UygohlB+2EdeHdWFN9neHHDN/hVzL82qufuMZ0
bOAHyn/kuT9hK0HkHc+vHTGIloPlhr6siNfmGwU/Lmv7d7uY/YFpvMvZrl90Fu77
5J7944VNMp6E7tGlJjlt01zDGa5QH1K1funRdrObLxxMgq0Z7RMx5GD5CHMS4tRn
eQIDAQAB

In order to enter the above key into the TXT field, divide it into multiple strings using quotation marks:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4TWhAkE9cQBB7g2C6jGb
4jdiaShZEtWBkupXFtBdOdJTvrMTAEPIhZske9+bp/ILDYbWG0Tzw7DcmWoTPF+J
bNDH4mN8hSy1pPxyxsmvtFqr5bMlaWl42arkWR3Zzq9A/ReMcEfZ5avwP2JubH72"

"Bg0SP6NNfrUD9sAWtzOIAt1rT1UygohlB+2EdeHdWFN9neHHDN/hVzL82qufuMZ0
bOAHyn/kuT9hK0HkHc+vHTGIloPlhr6siNfmGwU/Lmv7d7uY/YFpvMvZrl90Fu77
5J7944VNMp6E7tGlJjlt01zDGa5QH1K1funRdrObLxxMgq0Z7RMx5GD5CHMS4tRn
eQIDAQAB"

Add both strings to the same data field of a TXT record. Do not include spaces between the strings. 

SRV records

For detailed instructions on how to create an SRV record for your domain, please see: How do I create an SRV record?

DNS lookup

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.

Reset to (mt) Media Temple default

This will point your site and email to your (mt) Media Temple server - it's the standard DNS configuration with which your domain is added.

  1. Follow the steps in the earlier section to access your zone file.
  2. Click REVERT ZONE and save.
    acGRIDmainmenu_dnszone_edit_revert

     

Need a smooth DNS transition? Lower your TTL.

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?

Additional Resources

Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk