Create a TXT Record

TXT records contain human-readable information that refers to a system in a data center, a network, or the contact details of an administrator. A TXT record is limited to a string of 255 characters. You can add multiple strings to a TXT record, with or without double quotes surrounding the strings.

A TXT record consists of the following data:

  • Name: The root domain or the hostname for which you want to add the information.

  • TTL: The time duration, in seconds, for which a record can be retained in the recursive resolver’s cache.

  • Target: Single or multiple strings in a human-readable format.

When creating TXT records, consider the following limitations:

  • Multiple TXT records are allowed per Name.

  • Coexistence with NS records is not permitted.

In this tutorial, you will create a TXT record that provides the system administrator’s email address admin@mail1.host.com

TYPE NAME TARGET TTL PROXY

TXT

@

admin@mail1.host.com

1200

-

Use the edjConsole

  1. Log into the Console.

  2. Switch to the organization associated with the domain you want to add the record.

    View Selector

  3. Navigate to Main Menu > Domains.
    The Domain page displays.

    domain full select

  4. Click on a domain.
    The Domain Attributes page displays.

  5. Click Create Record.

  6. Enter the following details:

  7. Click Create.

    The TXT record is added to the list of resource records for the domain.

EdjCLI

  1. Switch to the organization associated with the domain you want to add the record.

    edjx config organization -i
  2. Select the domain to add the record.

    edjx config domain -i
  3. Create the TXT record.

    root@edjx:~ # edjx domain records create @ TXT admin@mail1.host.com 1200
    Record created successfully.
    Record ID: 816995db-8f1e-49ba-9c6b-db98c3d759ab
  4. List the domain records.

    root@edjx:~ # edjx domain records list
    ID                                    Name  Type  Target                 TTL   Proxy  Created By  Created On
    816995db-8f1e-49ba-9c6b-db98c3d759ab  @     TXT   admin@mail1.host.com   1200  false  edjdocs     2022-03-10 07:55:27.954 -0700 MST