The TXT record provides text information to sources outside your domain. The text can be either human or machine-readable and can be used for a variety of purposes. Typically, it contains general information about the domain name and also valuable details for verification purposes and email validation.
The TXT record has the following look in your ClouDNS Control Panel:
The text stored in a TXT record can be used for various purposes. Yet, you mainly need such DNS records for the following reasons:
TXT is an abbreviation for text. You may not be surprised to realize the way that TXT records work is as simple as you can imagine. It allows the domain administrator to enter a text into the DNS zone. "Why the administrator would need to enter a text" you may ask. Because TXT records are commonly used for verifying domain name ownership and to ensure email security.
Log in your ClouDNS account, enter your DNS zone management page, and click on the Add new record button. For Type choose TXT and type as follow:
TTL: 1 Hour
Points to: whereveryouwanttopoint
TXT is widely used for adding SPF records. This is essential for authorizing the email server allowed to send emails on behalf of your domain. And with the deprecation of the regular SPF records, the usage of TXT records has been increased significantly as all SPF records must be added as TXT SPF records nowadays.
As we already mentioned, SPF records are deprecated and it is recommended to be recreated as TXT SPF records. From this point of view, we can say that those SPF records also TXT records by their nature. But they are used explicitly for email purposes.
On other hand, TXT records have a much wider range of usage. TXT records can be also used for publishing DKIM and DMARC records, for proving domain name ownership, and not only.
CNAME is a standard DNS record that redirects your domain's subdomain to another domain or hostname. This is its main and the only goal.
The TXT record works in a different manner. The TXT record holds human and/or machine-readable text. It cannot redirect your domain to anywhere. It is mostly used for verification purposes and for storing SPF data.
You can check your TXT records with the following Dig command:
$ dig txt your-domain.com
You can check the TXT record with Nslookup as well. A sample is shown below:
$ nslookup -type=txt your-domain.com
In case you prefer an online instrument to check your DNS records, we suggest you try our Free DNS tool.
Absolutely, yes. You can add as many TXT records as you need for your domain. This will not cause any problem.
The maximum length for a TXT record is typically 255 characters. If a record exceeds this limit, it will be broken into multiple strings in a single record. For example, if you need to add a DKIM key with a 2048-bit length, it cannot be entered as a single text string in a DNS record due to the 255-character limit.
ClouDNS provides full support for TXT records for all our DNS services, including the listed below. Just write to our technical support, if you need any assistance with your TXT records configuration. Our Technical Support team is online for you 24/7 via live chat and tickets.
Q: How long does it take for a new TXT record to take effect?
A: It takes some time for a new TXT record to take effect. This time is called DNS propagation, and it can take up to 24 hours, but usually, it is much quicker.
Q: Can I modify or delete a TXT record once it's been added?
A: Yes, once a TXT record has been added, it can be modified or deleted through the Control Panel.
Q: Can a TXT record be used in conjunction with other DNS records?
A: Yes, it can be used together with other DNS records such as A, MX, CNAME, and more.