我司管理范围外的外部域名DNS记录管理

我司管理范围外的外部域名DNS记录管理

1 min read

DNS 服务指南

概述 #

本指南说明如何通过我司客户门户(Client Area)管理非我司管理的外部域名(在其他公司注册的域名)的 DNS 记录。

关键在于在客户门户中创建区域(DNS 管理对象域名),提前迁移并创建必要的 DNS 记录,然后在外部注册商侧将名称服务器(NS)切换到我司的 DNS 服务器

步骤 1 添加区域

在 Client Area 的 DNS SERVICE 中为目标域名创建区域。

步骤 2 迁移必要记录

从当前 DNS 导入设置或手动注册。

步骤 3 切换 NS

在外部注册商侧将名称服务器替换为我司的 DNS 服务器。

重要事项(请务必先阅读:如何防止事故) #

  • 切换 NS 的瞬间,权威 DNS 就会切换到我司的 DNS。如果切换时新区域中没有所有必要记录,Web / 电子邮件 / 各种认证将立即受到影响。
  • 特别是电子邮件相关记录(MX / SPF / DKIM / DMARC)认证 TXT(Google / Microsoft / 各种 SaaS / SSL 自动续期等)、CAASRV在迁移时经常被遗忘。
  • 如果域名启用了 DNSSEC,可能需要更新 / 删除 DS 记录(见下文)。

免责声明和支持信息 #

  • 本指南总结了典型的操作示例。根据您的域名配置和外部服务(电子邮件、各种 SaaS、SSL 自动续期等),所需的 DNS 记录和迁移步骤可能有所不同。
  • 我司对因遵循本指南而产生的任何间接或后果性损害(机会损失、业务中断、电子邮件投递失败等)不承担责任。
  • 如果您有疑问 / 难以判断影响范围 / 已启用 DNSSEC / 包含电子邮件迁移,请在开始工作之前从我司客户门户开启支持工单(我们将根据您的情况提供确认事项的指导)。

前提条件(准备工作) #

  • 您可以登录我司客户门户
  • 您的账户包含 DNS SERVICE(DNS 管理服务)
  • 您有权在目标域名的注册商处更改名称服务器(例如 お名前.com / Cloudflare Registrar 等)
  • 您可以访问当前的 DNS 设置(当前 DNS 管理界面或区域文件 / 记录列表)
  • 您想要添加或更改的 DNS 记录信息(例如 A 记录 IP、MX 主机名、TXT 值等)

切换前检查清单(建议:切换 NS 前务必执行) #

  • 记录当前的 DNS 记录列表(A / AAAA / CNAME / MX / TXT / CAA / SRV / NS 委派等)
  • 验证电子邮件相关 TXT 记录:SPF (v=spf1)、DKIM (selector._domainkey)、DMARC (_dmarc)
  • 验证认证和自动化 TXT 记录:_acme-challenge、Google / Microsoft / 各种 SaaS 验证 TXT 等
  • 检查 DNSSEC(如已启用,请参阅”DNSSEC 注意事项”)
  • 如果有计划的切换日期:如有可能,请提前缩短 TTL(例如 300–600 秒)
    ※TTL 缩短应首先在”当前 DNS 端”完成,可能需要时间生效。

操作步骤 #

1打开 DNS SERVICE #

从左侧菜单打开DNS SERVICE

打开 DNS SERVICE
打开 DNS SERVICE

2Add a DNS Zone (External Domain) #

2-1. Click “Add Domain”

On the DNS SERVICE management screen, click Add Domain.

Add Domain
Click “Add Domain”

2-2. Enter domain name and submit

On the “Add New Zone” screen, enter the target domain.

  • Domain: Enter the root domain without www, like example.com
  • IP Address: Leaving it blank is generally recommended (it is safer to explicitly add necessary records later)
    ※If you enter it here during operations, follow the screen specifications regarding whether “A record is created automatically / not created”.
  • Zone Content: If you have an existing DNS, it is safer to choose Import (zone file / AXFR, etc.) if possible. If you are doing a manual migration, select “I will add entries manually”.

After entering the information, click Submit.

Add New Zone
Add New Zone

3(Recommended) Import Current DNS Settings / Migrate Manually #

Before switching NS, migrate the records that exist in your current DNS to our DNS service.
This is the key point to prevent accidents.

  • If possible, use “Import Zone Content” (zone file / AXFR, etc.).
  • If import is not possible, create records manually while viewing the current DNS record list.
Common Examples of Forgotten Records During Migration
  • MX, SPF (TXT), DKIM (TXT), DMARC (TXT)
  • Authentication TXT (Google / Microsoft / various SaaS)
  • _acme-challenge (TXT) for SSL auto-renewal, etc.
  • CAA, SRV, subdomain delegation (NS)
Import Zone Content
Import Zone Content

4Add and Adjust DNS Records (Example: A Record) #

4-1. Open the target domain (zone)

Click the domain name you want to edit from the domain list to open the zone details.

Open Zone Details
Open Zone Details

4-2. Select record type and click “Add”

In “Add New Record” at the top of the zone details, select the record type you want to add (A / CNAME / MX / TXT, etc.) and click Add.

Add New Record
Add New Record

4-3. Enter values and submit

As an example, for an A record, mainly the following is configured:

  • Name: In many cases, when it corresponds to the root (@), it is often kept as “Default name”. For subdomains, specify something like www (follow the screen specifications for input).
  • TTL: The default value is usually fine. Adjust as needed during the switching process, such as using shorter values.
  • Content (IP Address): Enter the IP you want to assign.

After entering the information, click Submit.

Create A Record
Create A Record

5Switch Nameservers at External Registrar (Important) #

To manage an external domain with our DNS service, you must “replace” the nameservers (NS) at the domain’s registrar with our DNS server’s specified values.

  1. Check the NS (nameserver list) on the zone details screen in the client portal.
  2. Replace all nameservers on the domain at the external registrar’s management screen with the NS values above.
    ※Most registrars use “replace” rather than “add”.
Nameserver List
Nameserver List
Caution

If you do not switch nameservers, records added on our DNS service side will not be referenced from outside.

6Edit and Delete DNS Records #

From the record list in the zone details, click Edit / Delete for the target row.

Edit and Delete DNS Records
Edit and Delete DNS Records

DNSSEC Precautions (If Applicable) #

  • If DNSSEC is enabled on the target domain, DS record mismatches at the time of NS switching may cause name resolution to fail.
  • If there is a DS record setting on the registrar side, DS deletion / update is required following the switching procedure.
  • The required actions vary depending on the operational policy (continue DNSSEC / temporarily disable it). If the decision is difficult, please open a support ticket from our client portal before starting the work.

Verification (Operation Check) #

  • 添加的记录将显示在客户门户的区域详细信息列表中
  • 切换名称服务器后,可以从外部进行名称解析(权威 NS 为我们的 NS)

外部验证示例(推荐)

dig NS example.com
dig A example.com
dig A www.example.com
dig MX example.com
dig +trace example.com

注意: 名称服务器更改和 DNS 传播可能需要时间。 TTL、注册商反映时间和缓存状态也会影响该过程。

故障排除 #

从外部无法进行名称解析
  • 检查注册商端的 NS 是否与客户门户区域详细信息中显示的 NS 值匹配。
  • 检查是否启用了 DNSSEC 且 DS 记录仍然存在(请参阅 DNSSEC 注意事项)。
未返回预期值
  • 可能存在多个同名记录(例如:多个 A 记录、多个 TXT 记录)。
  • 检查 CNAME 是否与其他记录冲突(原则上,CNAME 和 A / MX / TXT 等不能使用相同名称共存)。
  • 使用 dig 等从外部验证以确认返回的值。
传播速度慢
  • TTL 可能较长 / 缓存可能仍然存在。等待后再次验证。
  • 我们建议在切换过程中缩短 TTL,完成后恢复到适当的 TTL。
仅电子邮件存在问题
  • 检查迁移过程中是否遗漏了 MX / SPF / DKIM / DMARC (TXT)。
  • 特别是 DKIM 通常具有类似 selector._domainkey 的子域名 TXT 记录,很容易被遗忘。

需要帮助(提交支持工单) #

如果您在切换后有疑问或遇到未解决的问题, 请从我们的客户门户提交支持工单

提交时,以下信息将帮助我们更快确认:

  • 目标域名
  • 注册商名称(例如:お名前.com 等)
  • 客户门户区域屏幕截图(NS 列表/相关记录列表)
  • 外部验证结果(例如:dig NS example.com / dig +trace example.com 结果)
  • 出现的症状(网站不可见/邮件未送达等)及发生时间
Updated on 2026年6月9日

What are your feelings

  • Happy
  • Normal
  • Sad