Type | Name | Nameserver |
---|---|---|
NS | @ | ns1.external.com |
Refer to the sections below to learn about different nameserver options.
When you add a domain on a full or secondary setup, Cloudflare automatically assigns your nameservers.
The default assignment method is to use standard nameservers and favor consistent nameserver names across all zones within an account. Nonetheless, in case there are conflicts - for example, if someone else has already added the same zone to a different account - you may get different nameserver names.
To have control over what nameservers are assigned for different zones within an account, you can use account custom nameservers.
If you have an Enterprise account, you also have the option to configure your own DNS zone defaults and change how Cloudflare handles nameserver assignment when you add a new zone to your account:
Multi-provider DNS is an optional setting for zones using full setup and is an enforced default behavior for zones using secondary setup.
When you enable multi-provider DNS on a primary (full setup) zone:
Cloudflare will no longer ignore NS
records created on the zone apex, as in the example below.
Type | Name | Nameserver |
---|---|---|
NS | @ | ns1.external.com |
This means that responses to DNS queries made to the zone apex and requesting NS
records will contain both Cloudflare's and your other DNS providers' nameservers.
For both Cloudflare nameservers (standard or advanced) and custom nameservers, the NS
record time-to-live (TTL) is controlled by the specific setting in DNS > Records > DNS record options.
The default TTL is 24 hours (or 86,400 seconds), but you have the option to lower this value depending on your needs. For example, shorter TTLs can be useful when you are changing nameservers or migrating a zone. Accepted values range from 30 to 86,400 seconds.
This setting can also be configured as a DNS zone default, meaning new zones created in your account will automatically start with the value you define.