TXT records hold free form text of any type. A fully qualified domain name may have many TXT records. The most common uses for TXT records are Sender Policy Framework (SPF), DomainKeys (DK), DomainKeys Identified E-mail (DKIM), and DMARC.
TXT records historically have also been used to contain human readable information about a server, network, data center, and other accounting information.
The original specifications for SPF required storage of SPF information for domains within TXT type records. Later specifications created the SPF type record. Currently, there are no SPF implementation that will not use TXT type records if they are present, so SPF type records are not required. There are, however, many SPF implementations that will not use SPF type records, so TXT records remain required. It is a good idea to have identical SPF information within a domain under both a TXT type record and an SPF type record.
- Name: This will be the host for your domain which is actually a computer within your domain. Your domain name is automatically appended to your name. If you are trying to make a record for the system www.example.com. Then all you enter in the textbox for the name value is www.
Note: If you leave the name field blank it will default to be the record for your base domain. The record for your base domain is called the root record or apex record.
- 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.
- TTL: The TTL (Time to Live) is the amount of time your record will stay in cache on systems requesting your record (resolving nameservers, browsers, etc.). The TTL is set in seconds, so 60 is one minute, 1800 is 30 minutes, etc..
Systems that have a static IP should usually have a TTL of 1800 or higher. Systems that have a dynamic IP should usually have a TTL of 1800 of less.
The lower the TTL the more often a client will need to query the name servers for your host’s (record’s) IP address this will result in higher query traffic for your domain name. Where as a very high TTL can cause downtime when you need to switch your IPs quickly.
How to Create a TXT Record
- At the top of the control panel, click the DNS menu and select Managed DNS.
2. Select a domain from the either the Recently Updated Domains box, or start typing the domain name in the text box on the Select Domain tab.
3. Click on the plus icon under the TXT Record section to add a new record.
4. Enter the values for your TXT record:
You can use this free wizard to create your own SPF record.
A) The name field of the SPF record should be left blank unless
B) The data field of the record is populated with the list of hosts that are permitted to send email for the domain in SPF record format. The data field of the record must be enclosed in quotations so servers will read the value as a single string.
C) Add a TTL.
D) Click Submit to save your record.