What are TXT Records?
TXT or text records are unformatted text usually with a host or other name.The most common uses for TXT records are Sender Policy Framework (SPF), DomainKeys (DK), and DomainKeys Identified E-mail (DKIM). TXT records historically have also been used to contain human-readable information about a server, network, data center, and other accounting information.
TXT RECORD FIELDS
|A) Name||This is the host name for the record, typically a computer or server within your domain. Your domain name is automatically appended to the end of the “Name” field. For example, if you create a record with the name “www” the record would be defined as “www.example.com”. If the “Name” field is left blank, then it represents the root record of the domain. The root record for the base domain can also be referred to as the apex record and is represented using an @ symbol in some documentation.|
|B) TTL||The TTL (Time to Live) in seconds is the length of time the record will cache in resolving name servers and web browsers. The longer the TTL, then remote systems will lookup the DNS record less frequently. Your nameservers will also receive less query traffic since most queries are answered by resolving name servers. Conversely, the shorter the TTL the faster any changes you make to your DNS will propagate in servers that have cached data. However, your domain will receive more query traffic.
Records that are static and don’t change often should have TTL’s set between 1800 (being on the low end) to 86400 seconds (30 minutes to 1 day cache).
Records configured with Failover or that change often should have TTL’s set anywhere from 180 to 600 (3 to 10 minutes cache).
If a change is needed for a record with a high TTL, then the TTL can be lowered prior to making the change and then raised back up again after the changes were made.
|D) Value||Free form text data of any type. May be no longer than 255 characters. Each word will be treated as a separate string unless one or more strings is enclosed in quotes.|
|E) Notes||Add a helpful note with keywords so you can search for your records later.|
|F) Save||Save your record changes and don’t forget to commit your changes after you’re done making record changes for this domain!|
Video Tutorial: How to Add, Edit, and Delete Records
ADD A TXT RECORD
4. In this screen, you will add the record information. Follow the steps below:
A) Name: Enter an identifiable name for your record.
B) TTL: Edit the TTL. Time to Live is measured in seconds and is the amount of time the record will cache in resolving name servers and web browsers.
C) Value: Free form text data of any type which may be no longer than 255 characters unless divided into multiple strings with sets of quotation marks.
D) Note: Add a helpful note with keywords so you can search for your records later.
E) Save and Close: Save your changes. Don’t forget to commit your changes.
Please note, the other Record Type options are covered in different tutorials. The Record Type will be left at Standard for this tutorial. Information on the NX Domain feature can be found in the Disabling a Record tutorial.
EDIT AN A RECORD
3. Under the TXT Records section, select a record by clicking the check mark next to it, then click the icon to edit a record.
Please note, you can not edit a record that has not been committed following its creation.
DELETE AN A RECORD
3. Under the A Records section select a record by clicking the check mark next to it, click the icon to delete a record.
Please note, you can not delete a record that has not been committed following its creation.
4. The record will now show as strike through text, and is now in the queue of changes to be committed.