What is a TXT Record?
A TXT record, also known as a text record, is used to store arbitrary text data in a DNS database. Due to their versatility, TXT records can be used for various purposes, including email security, domain verification, and other domain-related information.
How TXT Records Work?
You create a TXT record for your domain containing the text information you want to associate with it.
When a DNS query is made for the TXT record, the DNS resolver retrieves the associated text data.
The retrieved text data is used for its intended purpose, such as configuring email security or verifying domain ownership.
Type | TXT | TTL |
---|
TXT | v=spf1 include:_spf.example.com ~all | 5 minutes |
v=spf1: Specifies the SPF version being used.
include:_spf.example.com: Authorizes mail servers listed in Example SPF record to send emails for the domain.
~all: Soft fails any emails from servers not listed, marking them as suspicious but not rejecting them outright.