阿里云 DNS SPF Setup

Sender Policy Framework - Step-by-step configuration guide

Prerequisites

  • 已登录阿里云控制台
  • 域名已在阿里云 DNS 解析

Configuration Steps

1

进入云解析 DNS

登录阿里云控制台 → 搜索 "云解析 DNS" → 点击进入

2

选择域名

在域名列表中找到你的域名 → 点击 "解析设置"

3

添加记录

点击 "添加记录" → 记录类型选择 "TXT" → 主机记录填写 "@" → 记录值填写 SPF 内容

TTL 可以保持默认值 10 分钟
4

确认保存

点击 "确认" 保存记录

Example Configuration

Example SPF Value

v=spf1 include:spf.mxhichina.com -all

⚠️ This is an example value. Modify it according to your email service provider's requirements.

Verify Your Configuration

Terminal Command
$ dig TXT yourdomain.com @dns9.hichina.com

Replace "yourdomain.com" with your actual domain name

Common Mistakes to Avoid

  • 记录值包含了引号
  • 主机记录填写了完整域名

Verify Your SPF Configuration

After setting up your SPF record, use our free checker to verify it's correctly configured.

Check Your Domain Now