How to set cloudflare NS

Why the domain has set NS from the previous registrar and not those assigned by Cloudflare? How can I change it? I want to have CF nameservers.

It sounds like you transferred a domain to Cloudflare Registrar.

Some registrars reset your name servers as you leave their service, which isn’t very helpful.

Open a ticket as a Registrar issue (or email support AT cloudflare DOT com), then post the ticket # here so we can escalate it and have it reopened.

1 Like

Thank you for your advice.
The ticket #2499294

Got it. I’ve added that ticket to the escalation queue.

1 Like

@busseyhlcowieiwe - you can try to change it yourself using the API.

curl -X PUT "https://api.cloudflare.com/client/v4/accounts/${accountid}/registrar/domains/${domain-name}" \
     -H "X-Auth-Email: ${x-auth-email}" \
     -H "X-Auth-Key: ${x-auth-key}" \
     -H "Content-Type: application/json" \
     --data '{"name_servers":["foo.ns.cloudflare.com","bar.ns.cloudflare.com"]}

Replace foo.ns.cloudflare.com and bar.ns.cloudflare.com with the nameservers it’s requesting you to use as well as swapping ${domain-name} with your domain name, ${accountid} with your account ID and removing the ${ and }.

You can get your Account ID by following this guide: https://developers.cloudflare.com/fundamentals/get-started/basic-tasks/find-account-and-zone-ids/

Swap out X-AUTH-KEY and X-AUTH-EMAIL as described here: Cloudflare API v4 Documentation

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.