
A type of DNS resource record, the TXT record holds text strings for external systems. The record type allows domain administrators to associate arbitrary text with a host or other domain name. The strings may be human-readable information about a server, network, data center, or other accounting information. TXT records are also used to record small amounts of machine-readable data into the DNS.
How It Works
TXT records are added to a domain’s DNS settings. They are often used to verify domain ownership and set up email authentication records.
- Domain ownership: A TXT record can be used to verify that you own a domain.
- Email authentication: TXT records can be used to set up email authentication records, such as SPF, DKIM, and DMARC.
Common Uses
TXT records have several common uses, including domain ownership verification, email authentication, and network troubleshooting.
- Domain ownership verification: Many services, such as Google Search Console and Microsoft Bing Webmaster Tools, require you to verify that you own a domain before you can use their services. One way to verify domain ownership is to add a TXT record to your domain’s DNS settings.
- Email authentication: TXT records can be used to set up email authentication records, such as SPF, DKIM, and DMARC. These records help to prevent email spoofing and phishing attacks.
- Network troubleshooting: TXT records can also be used for network troubleshooting. For example, a TXT record can be used to provide information about a server or network.