How to Add a Verification Code as a TXT Record in Your DNS Zone

On this page
  1. What Is a TXT Verification Record?
  2. Why Add a TXT Verification Record?
  3. Step 1: Log in to mybox Panel
  4. Step 2: Open DNS Management
  5. Step 3: Add a New TXT Record
  6. Step 4: Enter the Verification Code
  7. Step 5: Save the Changes
  8. Wait for DNS Propagation
  9. Verify the Domain
  10. Common Issues
  11. Verification Fails
  12. Multiple TXT Records Exist
  13. Record Added to the Wrong DNS Provider
  14. Practical Implications
  15. Summary

Many online services require domain ownership verification before certain features can be activated. A common verification method is adding a TXT record to the domain’s DNS zone.

This process is commonly used when setting up email services, verifying domains with search engines, enabling third-party platforms, or configuring security-related services.

What Is a TXT Verification Record?

A TXT record is a type of DNS record that stores text information associated with a domain.

Verification TXT records typically contain a unique code provided by a service provider. Once the record is added and visible in the DNS zone, the provider can confirm that you control the domain.

Example:

google-site-verification=abc123xyz456

The exact value depends on the service requesting the verification.

Why Add a TXT Verification Record?

TXT records are commonly used to:

  • Verify domain ownership
  • Activate email services
  • Verify domains with search engines
  • Configure security services
  • Validate access to third-party platforms

Because DNS records are publicly accessible, service providers can verify ownership without requiring access to your hosting account.

Step 1: Log in to mybox Panel

Log in to your mybox account and open mybox Panel.

If the domain is managed outside of mybox, log in to the control panel provided by your domain registrar or DNS provider.

Step 2: Open DNS Management

Locate the domain you want to verify and open its DNS settings.

Depending on the panel version, this section may be called:

  • DNS Management
  • DNS Zone Editor
  • DNS Records
  • DNS Configuration

Open the DNS management interface for the selected domain.

Step 3: Add a New TXT Record

Choose the option to add a new DNS record.

Select:

Record Type: TXT

You will then be presented with fields for the record name and value.

Step 4: Enter the Verification Code

Paste the verification code provided by the service requesting verification.

The configuration usually includes:

Field Example
Name / Host @
Type TXT
Value google-site-verification=abc123xyz456

Some providers may require a different host value, such as:

@

or

_subdomain

Always follow the instructions supplied by the service requesting verification.

Step 5: Save the Changes

Save the DNS record.

The TXT record will be added to the DNS zone and published to DNS servers.

Wait for DNS Propagation

DNS changes are not always visible immediately.

In most cases, verification records become visible within a few minutes, but propagation can occasionally take several hours.

The exact propagation time depends on factors such as:

  • DNS cache duration (TTL)
  • Internet service providers
  • DNS resolvers used by the verification service

If verification fails immediately after adding the record, wait and try again later.

Verify the Domain

After the TXT record becomes visible, return to the service requesting verification and start the verification process.

The provider will query your DNS zone and look for the TXT record you added.

If the record is found, the domain will be verified successfully.

Common Issues

Verification Fails

Check that:

  • The TXT value was copied correctly.
  • No additional spaces or quotation marks were added.
  • The record was added to the correct domain.
  • DNS propagation has completed.

Multiple TXT Records Exist

A domain can have multiple TXT records simultaneously.

For example, it is common to have:

  • Domain verification records
  • SPF records
  • DKIM-related records
  • Other service verification records

Multiple TXT records generally do not conflict with one another when configured correctly.

Record Added to the Wrong DNS Provider

If the domain uses external nameservers, DNS changes must be made where the DNS zone is actually hosted.

Adding a TXT record in the wrong panel will not affect the active DNS zone.

Practical Implications

TXT verification records provide a secure way for service providers to confirm domain ownership without requiring direct access to your hosting account.

Once verification is completed, some services allow the TXT record to remain in place, while others may no longer require it. Before removing any DNS records, consult the provider’s documentation to ensure they are no longer needed.

Summary

Adding a TXT verification record involves creating a TXT entry in your domain’s DNS zone and inserting the verification code provided by a third-party service. Once DNS propagation is complete, the service can verify that you control the domain.

TXT records are commonly used for domain verification, email services, search engine tools, and security-related configurations, making them one of the most frequently used DNS record types.

Didn't find an answer?

Our support team is here for you 24/7 – write to us and we will help you sort it out.