Coming soon

# Automatic DNS for domains at Cloudflare

## Coming soon: when your domain’s DNS is at Cloudflare, CCMS Admin adds the records for you after you confirm. You see a preview of every change first, and nothing is written until you say yes. It is built and ready for review, but not switched on yet.

[Get started](https://ccms.build/build-with-ai/)

## Where it stands today

Automatic DNS is built and ready for review. It is not deployed, so you cannot use it in CCMS Admin today. It has been tested only against simulated services, not yet against a real Cloudflare account. Today you connect your own domain by adding the records Admin shows you and pressing Check now.

## Your records, added after you confirm

Today you add the records yourself at your DNS provider. With automatic DNS, Admin puts them in your Cloudflare zone for you. First it reads the zone and shows a preview: which records it would add, which are already right, and which conflict with what is there. It writes only when you confirm. The set covers the TXT record that proves you own the domain and the CNAME that points it to your site on CCMS Hosting. When your domain is the bare name or its www form, Admin also adds a rule that sends the other form to your domain with a permanent 301 redirect, over both http and https. Google and Bing verification codes you paste in can go in the same way.

## Built to respect the DNS you already have

Admin only ever removes records that decide where a name points: A, AAAA and CNAME. Your MX, TXT, CAA and other records are never removed, and new TXT values go in beside the ones you have. A record that points somewhere else, and that CCMS did not put there, is never replaced on its own. Admin shows it to you and replaces it only if you agree. If the www or bare form of your name is already used by another project in CCMS, Admin leaves it alone. Every record and rule CCMS adds carries a note that starts with “CCMS”, so you can see where it came from.

## How CCMS reaches your Cloudflare zone

If your domain’s DNS is already in CCMS’s own Cloudflare account, Admin adds the records there. It does so only for the organization the zone is assigned to, or for one that has proved it owns that exact address. Otherwise, an owner or administrator connects your organization’s own Cloudflare account, by approving access on Cloudflare’s page or by pasting an API token. CCMS asks only for the rights to read your zones and to edit their DNS records and redirects. The token is encrypted with a key in Google Cloud Key Management Service and bound to your organization. The key stays in that service, so a copy of the database alone cannot open the token. The token is never shown again and is used only for the records of domains your projects have claimed.

[See how your own domain works today](https://ccms.build/admin/own-domain/)

## Questions and answers

### Does automatic DNS work with any DNS provider?

No. It is built for Cloudflare only. If your DNS is somewhere else, or you prefer to do it yourself, you add the records by hand. Admin shows the exact records to add and checks them when you press Check now.

### Can CCMS change my DNS without asking?

No. Admin reads your zone and shows a preview first, and it writes nothing until you confirm. A record that points somewhere else is replaced only after you have seen it and agreed.

### What happens if we disconnect Cloudflare?

CCMS deletes the stored token. The records it already added stay in your zone. If you connected by approving access on Cloudflare’s page, CCMS also asks Cloudflare to end that access.

### Who in our organization can connect Cloudflare?

Only the owners and administrators of your organization can connect or disconnect a Cloudflare account. Each connection and disconnection is logged on the server with who made it.
