Skip to content
Cloudflare Docs

Set up advanced nameservers

Advanced nameservers included with Foundation DNS are an opt-in configuration.

Before you begin

Before opting in for advanced nameservers, consider the following:

Differences from standard nameservers

Some behaviors are different from standard Cloudflare nameservers:

  • Wildcard records are still supported but, with advanced nameservers, a wildcard record (*.example.com) will not apply to a subdomain that is an empty non-terminal. An empty non-terminal is a node in the DNS tree that has no records associated with it but has descendants that do, as exemplified below.

Example

DNS management for example.com

TypeNameContent
A*192.0.2.1
Aa.b192.0.2.5

In this example, a.b.example.com is a descendant of b.example.com, and b.example.com is an empty non-terminal. This means that the wildcard *.example.com will not apply to b.example.com.

  • Subdomain delegation: once a subdomain is delegated via NS records, Cloudflare will not serve any other records (such as A, TXT, or CNAME) on that subdomain from the parent zone, even if those records exist.

Example

DNS management for example.com

TypeNameContent
NSwwwns1.externalhost.com
NSwwwns2.externalhost.com
TXTwww"5bb16e6b5a444eedb48ace40c471bcc9"
Awww192.0.2.1

In this example, the TXT record and the A record for www.example.com will not be served.

Enable on a zone

To enable advanced nameservers on an existing zone:

  1. Opt for advanced nameservers on your zone:

    1. Log in to the Cloudflare dashboard and select your account and domain.
    2. Go to DNS > Records.
    3. In the Cloudflare nameservers card, enable Advanced nameservers.
    4. After you refresh the page, the card will display the values for your advanced nameservers NS records.
  2. Update the authoritative nameservers at your registrar. This step depends on whether you are using Cloudflare Registrar:

    • If you are using Cloudflare Registrar, contact Cloudflare Support to have your nameservers updated.

    • If you are using a different registrar or if your zone is delegated to a parent zone, manually update your nameservers.