Add a TXT Record

A TXT record allows you to insert email-sender policies, verify domain ownership, or add other text-based content to your DNS records. 

You can use a TXT record for:

  • DKIM
  • SPF
  • and site verification records.

The abbreviation, “TXT” in TXT records stands for texttext records. Let’s explore how it works.

How a TXT Record Works

TEXT records have unique uses. We’ll look at each TXT record type.

DKIM Record

The DKIM record is short for DomainKeys Identified Mail record. It’s an email authorization mechanism that’s intended to spot fake sender email addresses. Fake sender addresses are usually used in phishing and email spam.

This record helps receivers to verify if an email that’s supposedly coming from a particular domain was truly authorized by the owner of that domain, using a digital signature. The DKIM authentication fails if the verification signature doesn’t match or the message reaching the receiver has been tampered with.

SPF Record

The SPF record, or Sender Policy Framework record, alerts DNS servers across the internet of the email server a domain relies on to sends emails.

This record verification mecahnism lowers spam by allowing email receiving servers to verify a message’s sender address and compare it with the domain’ SPF record. If the sending address and the SPF record disagrees, the receiving mail server might flag the message as spam.

DMARC Record

Domain-based Message Authentication, Reporting, and Conformance record or DMARC record is a TXT record that’s published to a domain to handle message authentication failure. A DMARC record has two functions:

Instruct the receiving server on what to do about the message: The DMRC record could instruction receiving server to reject, quarantine, or permit the message to continue delivering.

Send reports: The DMARC record may also email reports to one or more addresses providing data about the email message received from the domain.

The DMARC record tells an ISP like Gmail, Yahoo!, Outlook, and others if a domain uses DMARC, the policy is in teh record. This TXT record would be “” but you’ll replace the URL with your real domain name or subdomain URL.

Site Verification Records

Site verification records provide TXT records for services like Microsoft Office 365 or Google Apps to verify ownership of the domain. Since only a domain owner should be able to access a DNS record, a site verification record is a valid way to verify ownership.

Step by Step Guide to Adding a TXT Record to Your DNS on the SPanel

Follow this guide to add a TXT record to your domain name.

Step 1: Sign in to Your SPanel Account

The first step is to log in to your SPanel account. Go to

Add a TXT Record

Enter your email or username and then your password, and click Login. If you are the main admin, then you’ll have to select the account you want to login into.

Step 2: Choose the Account to View DNS settings

In your admin SPanel dashboard, click on List Accounts.

Add a TXT Record

You’ll see your list of accounts.

Add a TXT Record

Click the blue Actions button for the account you want to see the DNS settings and click the Login button to access the control panel for that account.

Add a TXT Record

Step 3: Access the Control Panel for that Account

You’ll arrive at the SPanel for that account where you can view your DNS settings and adjust them if you wish.

Add a TXT Record

Step 4: Add, Edit, and Remove a TXT Record in SPanel

Let’s explore how to manage—add, edit, and delete—your domain’s A records from your SPanel. You can access your SPanel account by scrolling down the DNS editor page in your SPanel or by searching for a DNS editor.

Add a TXT Record

Click to open the editor. 

Add a TXT Record

Scroll down to access the Add a New Record section. That’s where you’ll make your changes.

How to Add a TXT Record in SPanel

Add a TXT Record

Add the name of your TXT record to the Name box. The TTL (time to live) is given in seconds automatically. Its default setting 14400 seconds and you can change it to as short as 30 seconds if you wish.

Select TXT from the dropdown menu labeled Type. Enter your specific TXT value. For example, if you are setting up an SPF record, you can use v=spf1 mx -all to show that emails are allowed from your mail server only and no other server.

You can also add a TXT record for DKIM, SPF, DMARC, and site verification. If you’re adding a DKIM record, then you’ll have to add DomainKeys.

Add a TXT Record

How to Edit or Remove a TXT Record in SPanel

You can remove a TXT record from your SPanel by scrolling down the DNS Editor, finding the editor you want to alter. Let’s assume you want to alter the DKIM records.

Add a TXT Record

Click on the blue Edit button to reveal the details of the record.

Add a TXT Record

Once you’ve opened the TXT record you want to change or delete, there you can change the records as you want. You can delete the record by clicking the delete button.

Add a TXT Record

Otherwise, you can make changes to the TXT record and then click Save when you’re done editing.

Add a TXT Record

And if you’ve made changes but don’t want them to apply, click Cancel.

Add a TXT Record

Need Help?

Now you know how to add, edit, or remove a TXT record from your SPanel account. If you need any help you can contact our support at any time. We are available, around the clock.



Working in the web hosting industry for over 13 years, Rado has inevitably got some insight into the industry. A digital marketer by education, Rado is always putting himself in the client's shoes, trying to see what's best for THEM first. A man of the fine detail, you can often find him spending 10+ minutes wondering over a missing comma or slightly skewed design.

Write a Comment