Skip to content

Manage DNS records

Cloudflare can automatically scan for common records and add them to the DNS zone for you, or you can add records manually. These records show up under your domain on the DNS > Records page of the dashboard.

When the quick scan is not automatically invoked

The DNS records quick scan is not automatically invoked in the following cases:

  • If you choose Enterprise plan and, instead of the Quick Scan, choose to upload a DNS zone file or add records manually.
  • If you add a zone via the API.

You can manually invoke the quick scan via API with the Scan DNS Records endpoint.

Note that the quick scan is a best effort attempt based on a predefined list of commonly used record names and types. You can read more about this in the reference page.

Since this scan is not guaranteed to find all existing DNS records, you need to review your records, paying special attention to the following record types:

If you want more control over which DNS records are imported and how, import a zone file.

Create DNS records

To create a DNS record in the dashboard:

  1. Log in to the Cloudflare dashboard and select an account and domain.
  2. Go to DNS > Records.
  3. Select Add record.
  4. Choose a record Type.
  5. Complete the required fields, which vary per record. Particularly important fields (for some records) include:
    • Proxy status: For A, AAAA, and CNAME records, decide whether hostname traffic is proxied through Cloudflare.
    • TTL: Short for Time to Live, this field controls how long each record is valid and — as a result — how long it takes for record updates to reach your end users.
    • Comment and Tag: Record attributes meant for your reference.
  6. Select Save.

Edit DNS records

To edit DNS records in the dashboard:

  1. Log in to the Cloudflare dashboard and select an account and domain.
  2. Go to DNS > Records.
  3. On a specific record, select Edit.
  4. Make any necessary changes.
  5. Select Save.

Delete DNS records

To delete DNS records in the dashboard:

  1. Log in to the Cloudflare dashboard and select an account and domain.
  2. Go to DNS > Records.
  3. On a specific record, select Edit.
  4. Select Delete.
  5. Select Delete again to confirm.

Batch record changes

For guidance on how to apply several changes to your zone records in just one action, refer to Batch record changes.