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
How to ad subsubdomain
Community Tutorials
Enabled IPV6 at Hosting..What do I need to do in Cloudflare
No domain in DNS management for crypton.one
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
My subdomain hosted at Bluehost is not working
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
DNS is not Propagating even after 48 hour
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?
Help Where to copy the value data in the dns section of cloudflare copied from sendgrid
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
This site is inaccessible
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?