Adding DNS Records

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

  • Go to the DNS tab 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


TXT Record

Other records that are not directly covered in this tutorial can be added in a similar way via the DNS tab of 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

An A, AAAA or CNAME record was not found
How do I point my Clousdflare registered domain to my external webhost?
How to set up Cloudflare 2
Troubleshooting Email Delivery Issues when using Cloudflare
Cannot add domain: Failed to look up registrar and hosting information
DNS ERROR CF contact
Community Tutorials
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?
SUBDOMAIN NOT WORKING # This site can’t be reached
DNS not resolving
The DNS Tab
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
Editing 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?
This site is inaccessible
It is NOT possible to point Cloudflare registered domain at external server WITHOUT {Business}, correct?
Not Receiving Mails
Error 1016 after switching to cloudflare registrar
Problem with the SSL installation
Teamspeak Setup
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 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