Cloudflare customers on a Business or Enterprise tier of service for a domain can get custom nameservers from Cloudflare.
Steps to add Vanity NameServers:
- Go to the DNS tab.
- Scroll down to "Custom NameServers" section.
- Choose up to three Custom NameServers. (Ex. ns1, ns2, ns3)
- IP addresses will be assigned to your three NameServers. Currently, the IPs are not displayed in the dashboard, but are returned if you perform a DNS lookup for them, e.g. using dig or nslookup:
dig ns1.example.com @ada.ns.cloudflare.com
dig ns1.example.com @ada.ns.cloudflare.com AAAA
nslookup ns1.example.com -query=AAAA
- Once you have the addresses, add them to your registrar as glue records. It is imperative that you add these as glue records before setting the new hostnames as your nameservers. Failing to do so will cause all DNS lookups for your zone to fail. Contact Support if you are unsure how to add the records as glue records or if you are unable to look up the appropriate IPs.