Got a JAMB or WAEC student at home? Free CBT practice, daily questions, and monthly cash rewards for top students on the WNG Student Hub.Practice Free

What Is a TXT Record?

What Is a TXT Record?

Community › Domain Names

Frank ApokwuezeWinig
1156 discussions | 33 replies

6 views

A TXT record is a type of DNS (Domain Name System) record used to store text information about a domain.

Think of DNS as the internet’s address book. While an A record tells the internet where a website lives, a TXT record lets you attach specific text information to your domain that other services can read and verify.

For example, a TXT record might look like:

example.com    TXT    "google-site-verification=abc123xyz"

TXT records are commonly used for several important purposes:

1. Verifying domain ownership

Services such as Google Search Console, Google Workspace and other platforms may ask you to add a TXT record to prove that you control a domain.

2. Email security

TXT records are heavily used to protect domains from email spoofing and fraudulent messages. Three important email-related records are:

SPF: Specifies which servers are authorised to send email for your domain.

DKIM: Helps verify that an email was genuinely authorised by your domain and has not been improperly modified.

DMARC: Tells receiving mail servers what to do when an email fails SPF or DKIM checks.

A simplified SPF example might be:

example.com    TXT    "v=spf1 include:_spf.google.com ~all"

3. Connecting third-party services

A website, email provider, advertising platform, CDN, analytics service or other online service may ask you to place a particular TXT value in your DNS settings.

4. Domain verification

When you connect your domain to a service, the service may give you a unique TXT value. You add it to your DNS, and the service checks for that value. If it finds it, it knows you control the domain.

Where do you add a TXT record?

You normally add it through the DNS management panel of your domain registrar or hosting provider.

For example, you might see fields such as:

Type: TXT
Name/Host: @
Value: google-site-verification=abc123xyz
TTL: Automatic

The exact fields can vary depending on your provider.

In simple terms

A TXT record is a piece of text stored in your domain’s DNS that allows internet services to verify information about your domain.

If you’re building websites, understanding TXT records is particularly useful because you’ll encounter them when setting up Google services, email authentication, domain verification, Search Console, SPF, DKIM and DMARC.

Join the conversation. What is your own experience with this? Share your answer below, ask a follow-up question, or post what worked for you.
Frank Apokwueze
https://www.franklyntechnologies.com.ng

Frank Apokwueze is a technology enthusiast, website developer, SEO strategist, and digital business advocate passionate about helping individuals and businesses build a stronger presence online. Through Franklyn Technologies, he shares practical insights on website development, SEO, digital marketing, online business, and emerging technology to help readers understand and take advantage of the digital world.

Post a reply