This guide explains how to add a TXT record using cPanel’s Zone Editor. TXT records hold text supplied by a service, for example to verify a domain or publish an email policy.

Before you start

Get the exact record name and value from the service requesting it. If another provider manages the domain’s authoritative DNS, make the change there instead of in a cPanel zone that is not used publicly.

Add the TXT record

  1. Log in to cPanel and open Domains > Zone Editor.

    Zone editor

  2. Click Manage beside the correct domain.

    MS Records

  3. Select Add Record or Add TXT Record, then choose TXT if required.

  4. Enter the supplied name, TTL and text value. TTL controls how long DNS resolvers can cache the record.

  5. Click Save Record and check the new entry.

    save record

Edit an existing record

Use Edit beside the existing record only when you intend to change it, then save the revised value.

edit

Check the published record with the requesting service after cached DNS values have expired. For an SPF policy, update the existing SPF record rather than creating multiple SPF policies for the same name.