How to Update Your DNS on Cloudflare
Overview
Managing DNS records is essential for directing your domain's traffic to the correct servers. Cloudflare provides a user-friendly interface to add, modify, or delete DNS records, ensuring your domain resolves correctly and efficiently.
How It Works
When you update DNS records on Cloudflare, you're instructing the Domain Name System on how to route traffic for your domain. This includes specifying IP addresses for your website, setting up email routing, and more. Changes made in Cloudflare's dashboard typically propagate quickly, but full DNS propagation can take up to 48 hours.
Step-by-Step Instructions
1. Log into the Cloudflare Dashboard
Navigate to https://dash.cloudflare.com and sign in with your credentials
2. Select Your Domain
From the dashboard, click on the domain you wish to manage.
3. Access DNS Settings
In the left-hand menu, click on DNS.
4. Add a New DNS Record
Click on Add record.
Choose the appropriate Type (e.g., A, CNAME, MX, TXT).
Fill in the required fields:
Name: The subdomain or root domain (e.g.,
www
or@
).IPv4 address / Target: The destination IP address or URL.
TTL: Time to Live; you can usually leave this as "Auto".
Proxy status: Decide whether to enable Cloudflare's proxy (orange cloud) or not (gray cloud).
Click Save to add the record.
5. Edit an Existing DNS Record
Locate the record you wish to modify in the DNS records list.
Click Edit next to the record.
Make the necessary changes.
Click Save to apply the updates.
6. Delete a DNS Record
Find the record you want to remove.
Click Edit next to the record.
Click Delete, then confirm the deletion.
Pro Tip: After making DNS changes, use tools like https://www.whatsmydns.net to monitor propagation across different regions.