Vanity nameservers business plan

I currently use PowerDNS for 15,000 domains with ns1.example.com and ns2.example.com as their nameservers. The domain example.com is hosted on Cloudflare, and both ns1.example.com and ns2.example.com have A records pointing to my PowerDNS server. I want to migrate all domains to Cloudflare DNS without changing the nameservers on each domain. My plan: 1. Purchase a Cloudflare Business plan ($250/month) to enable vanity/custom nameservers at the account level Custom nameservers https://developers.cloudflare.com/dns/nameservers/custom-nameservers/. 2. Use the API to import all zones into Cloudflare. 3. Replace the A records for ns1.example.com and ns2.example.com with Cloudflare’s IPs (or whatever is required for vanity nameservers) Given this setup:
- Will this ensure all domains seamlessly resolve via Cloudflare without further changes?
- Since the account-level custom nameservers are set, will all domains be automatically validated?
Cloudflare Docs
Custom nameservers · Cloudflare DNS docs
With custom (or vanity) nameservers, a domain can use Cloudflare DNS without using Cloudflare-branded nameservers. For instance, you can configure ns1.example.com and ns2.example.com as nameservers for example.com.
7 Replies
David
DavidOP3w ago
https://developers.cloudflare.com/dns/nameservers/custom-nameservers/account-custom-nameservers/ Are you sure about that? Account custom nameservers (ACNS) allow you to define account-level custom nameservers and use them for different zones within a Cloudflare account . It also says: Cloudflare will assign an IPv4 and an IPv6 address to each ACNS name. nothing about CNAME
David
DavidOP3w ago
seems to be the same thing no?
No description
David
DavidOP3w ago
Yeah it says Account custom nameservers are available for customers on Business (after contacting Cloudflare Support) or Enterprise plans.
Chaika
Chaika3w ago
I think the issue you'd run into is that since account level need to be setup by support, then you set the custom nameservers on your zone/use api to make them account based, and it becomes read-only records, and so all of your old dns would break. Maybe if you added them all and got them into a pending state, and then switched over, could go smoothly as long as you don't need proxy. It's my understanding they would validate fine off the custom nameservers like that, but haven't played around with that
David
DavidOP3w ago
yeah. It would be nice if they can set it up, and I can simply change the A record at will once all the zones are imported. Well I'll buy it and contact support. Hope it can be resolved if not I will just create ns01.example.com and ns02.example.com and painstakingly change nameservers for all the domains 😂
Chaika
Chaika3w ago
I was thinking at first your issue would be support enabling, but then I remembered it's all API-based once you get approved: https://developers.cloudflare.com/dns/nameservers/custom-nameservers/account-custom-nameservers/, don't need to wait for them after they get you added
David
DavidOP3w ago
Just subscribed to the Cloudflare Business Plan yay. time to reach out to support
Want results from more Discord servers?
Add your server