Manage Cloudflare DNS records for your servers
Connect your Cloudflare account to point DNS records at a new server the moment it boots, with no IP addresses to copy.
Connect Cloudflare
- Go to Integrations → Cloudflare
- Click Sign into Cloudflare and allow access in Cloudflare.
The connected account shows the domains it manages and the DNS records Better Stack created in them. To connect another Cloudflare account, click Sign into Cloudflare again.
Point DNS records at a new server
- Go to Servers → Create server
- Under Cloudflare DNS, check Configure DNS records.
- Select the Cloudflare account and the Domain.
- Under DNS record, enter the subdomain for each server. Use
@for the naked domain and*for a catch-all. - Click the cloud icon of a record to switch the Cloudflare proxy on or off. A proxied record gets Cloudflare's DDoS protection and free HTTPS.
- Click Create server.
Each record name gets an A record for the server's IPv4 address and an AAAA record for its IPv6 address, as soon as the server has its addresses. When you remove the server, we delete its records from Cloudflare.
Good to know
- Records are set when you create a server. To change them later, click Configure on the server's Cloudflare DNS records card, which opens the Cloudflare dashboard.
- A server needs a public IPv4 address for Cloudflare DNS records, because each record includes an A record.
Need help?
Please let us know at hello@betterstack.com.
We're happy to help! 🙏