DNS Record Types
TXT Record (Text Record)
These 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). TXT records historically have also been used to contain human readable information about a server, network, data center, and other accounting information.
- 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.
To enter an SPF Record as a TXT Record
STEP 1: Log into DNS Made Easy, click on DNS – Managed DNS
STEP 2: Select a domain name to add a record to
STEP 3: Click on the plus sign under the TXT record grid
STEP 4: The name field of the SPF record should be left blank unless mail is sent from a subdomain such as email@example.com. If this was the case “mail” would be entered in the name field of the record. Alternatively, of email is sent from firstname.lastname@example.org, the name field is left blank. 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. There is a wizard which can assist in generating an SPF record available onlinehere. The data field of the record must be enclosed in quotations so servers will read the value as a single string. Below is a default SPF record for example-1.com.
STEP 5: Click submit