DNS
Contents
    Loading
Documentation DNS TXT Record

TXT Record

Overview

This document describes how to add a TXT record to identify and describe a domain name. Most TXT records are used as SPF records (for anti-spam).

Directions

  1. Log in to the DNSPod Console.
  2. In "My Domains", click the domain for which to add a TXT record to enter its Record Management page as shown below:
  3. Click Add Records and enter the following record information as shown below:
  • Host: enter a subdomain. For example, when adding a TXT record for www.dnspod.com, you can simply select "www" in the "Host" field. If you only want to add a TXT record for dnspod.com, select "@" in the "Host" field.
  • Type: select "TXT".
  • Split Zone: select "Default"; otherwise, the domain may not be resolvable for certain users.
  • Value: there is no fixed format requirement. In most cases, TXT records are used as SPF records for anti-spam. The most typical example of a TXT record in SPF format is "v=spf1 a mx ~all", which means that only the IP addresses in the A and MX records of this domain have permission to use this domain to send emails.
  • Weight: leave it empty.
  • MX: leave it empty.
  • TTL: it is the cache time and 600s by default. The smaller the value, the faster the change to the record will take effect in various regions.
  1. Click Confirm.
Last updated on 2022-04-21 03:01

DNS health check tool powered by DNSPod

查询域名信息,快速排查网站问题

Official WeChat group

Join WeChat group to chat and feedback

Scan using WeChat