大网数据广告活动
服务器运维问答

Delegating only a third level zone (a.b.example) to CloudFlare

· 52CE 我爱测

I am in the process of trying out CloudFlare. I host my own DNS ( b.example ), and I have created a distinct third level zone ( a.b.example ). I put glue records in the b.example zone and setup the a.b.example zone in its own sep…

问题原文

原帖链接 · Alien Life Form · CC BY-SA 4.0

I am in the process of trying out CloudFlare. I host my own DNS (b.example), and I have created a distinct third level zone (a.b.example). I put glue records in the b.example zone and setup the a.b.example zone in its own separate file. (I am using BIND on linux boxes). Testing this on intodns.com gives a green light (save for a "WARNING: Looks like the parent servers do not have information for your TLD when asked. This is ok but can be confusing.")

However when I try to add this zone to CloudFlare's control panel I get:

Please ensure you are providing the root domain and not any subdomains (e.g., example.com, not subdomain.example.com) (Code: 1116)

I have tried a few variations (set an A record for the a.b.example either in the parent, child or both zones) withouth obtaining any change.

Is what I am trying to do possible? I do not want to turn the entire DNS management of b.example over to CloudFlare.

已采纳解答

原帖链接 · Håkan Lindqvist · CC BY-SA 4.0

The problem with your overall goal is that Cloudflare only accepts domain names directly under a public suffix, which is a policy decision on their part. (Public suffix like com, co.uk, etc. Ie, something like this list, although I don't know if that is the list they operate based on.)
This is with the exception that their partners have the option of using a CNAME-based solution.

In general terms (ignoring the Cloudflare specifics), if you delegate something under one of your zones to someone else's nameservers, what you add is just the NS records.
The new zone should exist on their nameservers, not on yours (unless you're specifically delegating the new zone to both, in which case you will want to ensure that the zone is actually kept synced, via AXFR or otherwise).

Ie, if you have example.com and want to delegate sub.example.com to ns.other.example you would add:

sub.example.com. IN NS ns.other.example.

to your example.com zone.

The zone sub.example.com would separately be added on the ns.other.example nameservers by whoever controls that.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-10-09)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。