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), and DomainKeys Identified E-mail (DKIM).
The TXT Value is what the record ‘points to’, but these records aren’t used to direct any traffic. Instead they’re used to provide needed information to outside sources.
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.