Adding DNS Records

This tutorial covers adding general DNS records and specifically A, AAAA, CNAME, MX and TXT records.


  • Go to the DNS app of your Cloudflare dashboard.
  • Enter your credentials and click ‘Log In’
  • Click the domain in question

[Please note, the content of the records below are solely for example purposes and should be replaced by valid records with content provided by your web host]

Please select which record you need help adding:

A Record

AAAA Record

CNAME Record

MX Record

MX

TXT Record

Other records that are not directly covered in this tutorial can be added in a similar way via the DNS app in your dashboard



This is a Community Tutorial, most are wiki posts, so can be contributed to by Regulars and MVPs here, you can view all the community tutorials here. If there is a tutorial you would like to see, you can request one here.

Other great resources on this community include the Community Tips . These address best practices when configuring Cloudflare, how to fix issues you may see, and tools to troubleshoot. Also you can view Expert Tips, great posts on the community that can help users with a similar issue.

We encourage users to check out these great resources and the Cloudflare Support Centre before posting

6 Likes
Editing DNS Records
Community Tutorials
How to ad subsubdomain
Enabled IPV6 at Hosting..What do I need to do in Cloudflare
No domain in DNS management for crypton.one
Help Where to copy the value data in the dns section of cloudflare copied from sendgrid
Everything's working on our side, so the link you clicked is either wrong or has been retired
Google Site Verification - DNS record method?
Namecheap hosting with cloudflare domaine
DNS Management issue
Add an MX record for your root domain
My website doesn't work
How to fix DKIM and SPF problems
Где прописать SPF и DKIM
SPF and DKIM
Enabling Sub domains
Link URL to hosting
Connecting domain to mc ip wont work
I cannot access my website from any device! I recently moved to Cloudflare and requested ssl and my website stopped working. Please help
Forward A Subdomain To Discord
Can’t seem to connect a sub domain to a discord invite URL
Hopeless amateur question
Como configurar un correo de godaddy
Cannot reach my wordpress blog
After applying ssl my site are not working plzzzzzzz help
Error: Err_name_not_resolved
Je reçois une erreur 1000
How do we create a subdomain from a domain hosted in Cloudflare?
Verify domain ownership via DNS record
Can not access without www
Can not access without www
A few more steps are required to complete your setup
Need instruction to verify domain ownership for 3rd party SSL renewal
Can't reach domain
Is the administrator there and can help me solve the problem
Name Server Change
Website not viewing after switching to cloudfare nameservers
DNS Record not found
My DNS management settings or info gone for web
DNS is not Propagating even after 48 hour
Help needed will pay you to setup my DNS
DNS NAMESERVER
DNS update - When will website will be up?
Help! How do I set up email forwarding with custom name servers (Google Domain)
DKIM - на работает!
Moving domain to Cloudflare (host records)
Sub Domain set up
Community Tip - Best Practices For adding a CNAME record / Fixing (Code: 81053)
Connecting domains from domain host to a different website host - should I use Cloudflare?
We automatically detected 0 DNS records on your site that match common hostnames and record types
DKIM for subdomain
Adding Cloudflare CDN via raw DNS records
DNS PLEASE help!
Still website not working after website shows active in cloudflare
Mail Tutorial Feedback
How to das a subdomain?
Can i use single domain on multiple cloudflare accounts?
I have a domain on godady but than I changed a dns to clouadfare .Its working fine but when I created a subdomain its not working
My subdomain is down after added cloudfair
How to add a google text record to my DNS configuration
How do I get subdomains of a site on Cloudflare to work?
Kindly provide incoming & outgoing server name
Problem with the SSL installation
Website down : ERR_TOO_MANY_REDIRECTS
Problem with the SSL installation
Issues with email
Point Subdomain to A record
Email servers on Cloudflare
Problem with Freenom and Cloudflare
DNS TXT Access
How to add an A record to the DNS
E-mail configurar no yandex
Help with URL forwarding - Please!
After changing my nameserver, my site downloads a nohost.php file?
SSL not working problem
Ukit.com and Cloudflare via NS records
Need support to call me
Cloudflare saying my servers are not configured?
After my nameservers were updated successfully, my website is down for 2 days
Google Search Console Verification
Проблема с доменом
Problem configuring Email record
Active SSL but HTTPS not working
DNS ERROR CF contact
Page can't visit
Error while running site in www
I cannot browse my website from yesterday
Configuracion de email con datos entregados por otra empresa( godaddy)
DNS question by Donna
Nameserver transfer initiated. What next?
How I fix ERR_SOCKET_NOT_CONNECTED
SUBDOMAIN NOT WORKING # This site can’t be reached
DNS not resolving
Subdomain is not available
CloudFlare recognizes the wrong nameserver
Use Cloudflare for my dns configurations
Ping can not detect ip address
Contacting Support Team Re: Name Server Change
How Do I Add Two Or More Subdomains
SSL flexible active but not secure https
I need help and don't know how to fix this
Default DNS records
If i move my website to another hosting so how can i change DNS in cloudflare?
If i move my website to another hosting so how can i change DNS in cloudflare?
ARUBA VS CLOUDFLARE mx assenti
How to set up Cloudflare 2
This site is inaccessible
It is NOT possible to point Cloudflare registered domain at external server WITHOUT {Business}, correct?
How do I point my Clousdflare registered domain to my external webhost?
Not Receiving Mails
Error 1016 after switching to cloudflare registrar
Cannot add domain: Failed to look up registrar and hosting information
Teamspeak Setup
An A, AAAA or CNAME record was not found
Point Domain to Siteground
How to "point" Cloudfare DNS to my external hosting site?
Add email pro godaddy in domain
Can I ad MX records in Cloudflare?
Page Rules Not Working On Chrome?
My site is not running
Problem with DNS from Godaddy
Cloudflare, cPanel and MX records/e-mail
I had moved to another hosting provider and update the Nameserver but getting many errors please help
Where at Cloudflare can I paste Google Search Console text string to verify I own the domain?
I had updated the name server in Cloudflare but my site is down now?
DKIM Records?
My emails are going to spam
Mail record is not resolving - DNS Config error
Adding apps
Hello my problem with G suite
Confused user
Update DNS record
Troubleshooting Email Delivery Issues when using Cloudflare
The DNS Tab
My subdomain hosted at Bluehost is not working
My website linked to Cloudflare ssl just went down for almost 2 days now
Website doesn't show after changing domain to another registrar
Help me, don't know how I change my domain
Site gone, can't log into WordPress
Status active but site not working
When I am adding my domain the NO DNS found/A record
Domains setup DNS & SSL
No puedo entrar a mi web
How to corretly setup DNS entries under the DNS Tab?
Subdomains not loading with www
My Website Down
Certificate error in Addon Domain SSL
Sub Domain not working
Add an A, AAAA, or CNAME record for www so that *websitelink* will resolve
I created a Cloudflare account... How do I add my hosting to it?
SSL DRAMA: A Love Triangle Between SquareSpace, Wordpress, and GoDaddy
Host records for office 365
Want to create as SSL entries in your plan's DNS Zone