Cloudflare
Get cloud DNS nameservers:
AWS
- Log into AWS Console
 - Navigate to Services -> Network & Content Deliver -> Route 53 -> Hosted Zones
 - Select your domain
 - Copy the NS records for your domain
 
Azure
- Log into Azure Portal
 - Navigate to All Services -> Networking -> DNS Zones
 - Select your domain
 - Copy the Name server records
 
GCP
- Log into GCP Console
 - Navigate to Network services -> Cloud DNS
 - Select your domain
 - Select the NS domain record
 - Copy the name servers in Data
 
Add nameservers in Cloudflare
- Create nameservers with POST command
 - Open a ticket with Cloudflare support to add glue records to your account nameservers and have your nameservers updated
 - Test your DNS configuration (it may take a few minutes to propagate):
 
nslookup -type=SOA yourdomain.com 8.8.8.8
nslookup -type=NS yourdomain.com 8.8.8.8
Remove nameservers in Cloudflare
- Remove nameservers with PUT command
 - Set 
"enabled": trueto"enabled": false - Open a ticket with Cloudflare support to remove glue records from your account nameservers and have your nameservers updated
 
OpenTofu Foundations - A FREE Weekly Workshop to Build your IaC Skills - LIMITED AVAILABILITY