All questions
Q & A DNS Records · September 11, 2026

How do I add a TXT record in Cloudflare?

In the Cloudflare dashboard, select the domain → DNS → Records → Add record. Set Type to TXT, Name to @ (root) or the subdomain (e.g., _dmarc for DMARC), TTL to Auto, and Content to the exact value including quotes if the provider requires them (e.g., v=spf1 include:_spf.google.com ~all). Save. Cloudflare propagates the change to their global anycast within seconds. For long records over 255 characters (common with DKIM), Cloudflare handles the string splitting automatically. Verify with the DNS query tool.

Read the full guide
DNS Record Types Explained
DNS records are the building blocks of how the internet resolves domain names to servers. Each record type has a specific job: routing web traffic, delivering email, proving domain ownership, or preventing spoofing.