Account custom nameservers
Account custom nameservers (ACNS) allow you to define account-level custom nameservers and use them for different zones within a Cloudflare account.
ACNS are organized in different sets (
ns_set) and ACNS names can be provided by any domain, even if the domain does not exist as a zone in Cloudflare.
For instance, if the ACNS are
ns2.vanity.org, the domains
vanity.org are not required to be zones in Cloudflare.
For this configuration to be possible, a few conditions apply:
- If the domain or domains that are used for the account custom nameservers do not exist within the same account, you must create the
A/AAAArecords on the configured nameserver names (e.g.
ns1.example.com) at the authoritative DNS provider.
- You can create up to five different account custom nameserver sets. Each nameserver set must have between two and five different nameserver names (
ns_name) and each name cannot belong to more than one set. For example, if
ns1.example.comis part of
ns_set 1it cannot be part of
ns_set 2or vice versa.
- or can use account custom nameservers as long as they use a different nameserver set (
ns_set) than their parent, child, or any other zone in their direct hierarchy tree.
Add account custom nameservers
Remove account custom nameservers
To remove ACNS and their associated DNS records from a zone: