Skip to main content

How to create a DNS TXT record

A DNS text (TXT) record lets a domain administrator save text information for a domain or hostname in DNS. TXT records are important for domain-related tasks and services because they hold information that humans and computers can understand.

For example, DNS TXT records can verify domain ownership, especially when setting up services like Google Workspace (formerly G Suite) or Microsoft 365.

Follow the instructions below to create a DNS TXT through Active Directory or your DNS hosting provider. A single domain can host many TXT records.

Note

The following instructions are general steps for creating a DNS TXT record. The exact steps and options for creating one can vary depending on your DNS hosting provider.

Consult your provider's documentation or contact their support for specific guidance.

Active Directory

  1. Log in to your DNS Server and go to Start > Administrative Tools.

  2. Select DNS and expand the Forward Lookup Zones folder.

  3. Right-click the domain you want to add the TXT record to and select Other New Records....

    dns_txt_001.png
  4. The Resource Record Type window appears.

    Select Text (TXT) and click Create Record....

    dns_txt_002.png
  5. The New Resource Record window appears. Set the following:

    Record name (uses parent domain if left blank)

    Provide the hostname or subdomain for which the TXT record should be created.

    Text

    Enter the information you want associated with the DNS.

    For example, if your domain server provides a unique identification token, add that here.

    dns_txt_003.png
  6. Click OK.

Other DNS platforms

  1. Log in to your domain's DNS dashboard with an administrative account.

  2. Navigate to the section or option where you manage your domain's DNS records.

    For example, "DNS Management", "Advanced Settings", or something similar.

  3. Select the domain for which you want to create the TXT record.

  4. Look for an option to add a new DNS record.

    For example, "Add Record," "Add DNS Record," or something similar. Choose "TXT" as the type of record you want to create.

  5. Configure the DNS TXT record and save or publish your changes.

    Wait until the changes take effect. This can range from a few minutes to up to 72 hours.