问题原文
原帖链接 · 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.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
