How to Add a TXT DNS Record in Cloudflare

When you need to verify ownership of a website—whether for search engines, analytics tools, or third-party platforms—one of the most reliable methods is adding a DNS TXT record. If your domain is managed through Cloudflare, you can complete this process in just a few steps.

Why Use a TXT Record for Verification?

A TXT record is commonly used to confirm that you control a domain. Many services rely on this method because it’s secure and doesn’t require modifying your website’s files.

You might need a TXT record when:

Verifying your site with tools like Google Search Console
Claiming ownership on platforms like Pinterest
Setting up email authentication or security features
How to Create a TXT Record in Cloudflare

Here’s a simple step-by-step guide to adding a TXT record:

1. Log in to Your Account

Go to the Cloudflare dashboard and sign in.

2. Select Your Website

Choose the domain where you want to add the TXT record.

3. Open DNS Settings

Click on the DNS tab from the sidebar to view your existing records.

4. Add a New Record

Click the Add record button.

5. Choose Record Type

From the Type dropdown menu, select TXT.

6. Enter Record Details
Name: Enter @ to apply it to your root domain (or use a specific subdomain if required)
Content: Paste the TXT value provided by the service you’re verifying with
7. Save the Record

Click Save to apply the changes.

Additional Tips
Propagation time: DNS changes can take a few minutes to several hours to fully update across the internet.
Double-check entries: Make sure there are no extra spaces or missing characters in the TXT value.
Multiple records: You can have several TXT records for different services without conflict.
Common DNS Record Types (Quick Overview)

See also  How to Change Your Wallpaper on iPhone: A Simple Step-by-Step Guide

While working in Cloudflare, you may also encounter:

A records: Link your domain to an IP address
CNAME records: Point subdomains to another domain
MX records: Handle email routing
Final Thoughts

Adding a TXT record in Cloudflare is a straightforward but essential task for website verification and security. Once you’re familiar with the process, you’ll be able to quickly confirm ownership for various services whenever needed.

Leave a Comment