Manage DNS records
Last updated May 6, 2026 Consider the sections below for step-by-step instructions on managing DNS records at Cloudflare.
To better understand what DNS records are, refer to Overview. For context around common records you want to review when getting started at Cloudflare, refer to review DNS records.
Note
If your domain is added to Cloudflare by a hosting partner, manage your DNS records via the hosting partner.
Basic operations
Create DNS records
To create a DNS record in the dashboard:
- In the Cloudflare dashboard, go to the DNS Records page. Go to Records ↗
- Select Add record.
- Choose a record Type.
- Complete the required fields, which vary per record. Particularly important fields (for some records) include:
- Proxy status: For
A,AAAA, andCNAMErecords, 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.
- Private network routing: Some Enterprise customers also have access to private network routing. For
AandAAAArecords, this feature allows you to proxy HTTP/HTTPS traffic from public hostnames to origins in your private network. - Select Save.
To create records with the API, use a POST request. For field definitions, select a record type under the request body specification.
For specific API examples, refer to DNS record types.
Edit DNS records
To edit DNS records in the dashboard:
- In the Cloudflare dashboard, go to the DNS Records page. Go to Records ↗
- On a specific record, select Edit.
- Make any necessary changes.
- Select Save.
To update part of a record with the API, use a PATCH request. If you want to overwrite the entire existing record, use a PUT request.
Delete DNS records
To delete DNS records in the dashboard:
- In the Cloudflare dashboard, go to the DNS Records page. Go to Records ↗
- On a specific record, select Edit.
- Select Delete.
- Select Delete again to confirm.
To delete records with the API, use a DELETE request.
Use cases
Update an origin IP address
If your hosting provider changes or your origin IP address changes, update the Content value of the relevant DNS records (usually A or AAAA records).
If you are not sure which IP address to use, refer to your hosting provider's documentation.
Originless setups
If you need a placeholder address for an originless setup (also referred to as parked domain or redirect-only), you can use the reserved IPv6 address 100:: or the reserved IPv4 address 192.0.2.0 in a proxied DNS record.
This allows you to route requests using products such as Redirect Rules, Page Rules, or Workers.
Note
The address 192.0.2.0 comes from an IPv4 range reserved for documentation (RFC 5737 ↗︎), and 100:: comes from the IPv6 discard prefix 0100::/64 (RFC 6666 ↗︎). Neither address is expected to route to a real server on properly configured networks, which makes them safe to use as placeholder values. Because the DNS record is proxied, Cloudflare intercepts the request before it reaches the origin address.
Further guidance
- Manage DNS records
- Create zone apex record
- Create subdomain records
- Set up email records
- Set up Google Workspace DNS records
- Import and export records
- Batch record changes
- Dynamically update DNS records
- Round-robin DNS
- Delegate subdomains
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-dns-records/#page","headline":"Manage DNS records","description":"Create, edit, and delete DNS records for your zone.","url":"https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-dns-records/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-dns-records/og.png?v=e83a8766ec47be93","dateModified":"2026-05-06","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Add DNS records for subdomains. title: Create subdomain records image: https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-subdomain/og.png?v=6fc6b4ef98cdb057
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/dns/llms.txt
Use this file to discover all available pages before exploring further.
Docs