Skip to main content

Detailed Guide to TXT Records

What is a TXT Record?

A TXT record (Text Record) is used to store arbitrary text information in a domain, and is commonly used for email verification, Domain Control Validation (DCV), and security policy configuration.

Adding a TXT Record

Add a TXT record

Host Record:

  • @ refers to the root domain (e.g., example.com)

  • www refers to www.example.com

  • Other specific subdomains

Type: Select TXT record

TTL: 600 seconds (recommended)

Value: Enter the value

Weight: No special requirements, you may uniformly enter 1.

TTL
  • TTL is the survival time of a DNS record in the cache of recursive DNS servers.

  • Measured in seconds, a shorter TTL means DNS changes take effect faster; a longer TTL leads to a higher cache hit rate and more stable resolution speed.

  • 600 seconds (10 minutes) is a common compromise value that balances flexibility and stability.

Weight

The higher the weight value, the larger the proportion of access allocated to it; this only takes effect among records of the same type.

Notes

The value of a TXT record must be filled strictly in accordance with system requirements, otherwise email verification may fail or related services may not operate properly.

Please note when filling in:

  • Ensure every character is accurate with no typos

  • Do not omit underscores (_) or dots (.)

  • Avoid entering extra spaces or missing spaces