TXT resource records
If you host your own website, you need to know about many technical details that your visitors never have to worry about. One of the most important details is the function of the Domain Name System and the information it contains. In this article, we’ll explain what TXT records are used for.
$1 Domain Names
Register great TLDs for less than $1 for the first year.
Why wait? Grab your favorite domain name today!
What are DNS records and what is a TXT record?
However, DNS servers do more than just translate a domain name into an IP address. They can provide a large amount of information that is required for smooth and secure exchange of data on the Internet. This information is stored in DNS resource records. There are many different types of resource records, such as CNAME records, A records, PTR records or SOA records. Each of these record types is used for a specific purpose and requires a specific format.
For an introduction to DNS records and a summary of the different record types, see our overview of DNS records.
TXT records are the most flexible type of record. They allow you to store freely definable text and are used for a wide variety of applications. Typical TXT record examples include code keys, which are required to authenticate the domain for services such as Google Analytics.
Creating a TXT record
You typically create TXT records according to the instructions of the service that requires the record. Normally, you receive the full contents of the TXT record so you can easily copy it.
Most importantly, the name of the entry must be correct. TXT records are usually given a specific subdomain name. For example, a DMARC record (see the last line in the screenshot) must always be given the subdomain name _dmarc.
How you create the TXT record depends on the hosting provider. Learn how to add a TXT record.
Looking up a TXT record
Register a domain name
Build your brand on a great domain, including SSL and a personal consultant!
You can keep the default settings for the DNS server. Click TXT at the top right and enter the domain name (test.com in this example). The TXT record lookup tool returns matching TXT records (in this example, the key for Google Site Verification).
If you must enter a DNS server and don’t know which IP address to use, type in 126.96.36.199. This Google DNS server always works.
You can also run a DNS lookup using the standard tools in Windows. To do this, open Command Prompt (type cmd in the search bar) and use the command nslookup. Our related article explains in detail how to perform a DNS check with nslookup.
Professional Email Address & Personal Domain Name
Get an email address as professional and unique as you are including a free matching domain!