Validate a domain using DNS TXT record

In this method, ​Akamai​ provides a challenge token that you use to set up a TXT record in your DNS configuration.

Use this method when:

  • You have direct control over your DNS records.
  • You want to validate an exact HOST, a WILDCARD, or a DOMAIN.
  • You are using multiple CDNs and want to manage domain validation through multiple TXT records in your DNS.

Don't use this method when:

  • You don’t have control over your DNS records.
  • You don’t want to manually obtain a TXT token and add it to your DNS records for domain validation.

How to

To validate a domain using DNS TXT record, first submit your domain for validation in Domain Ownership Manager and then update your DNS configuration.

1. Add a domain to Domain Ownership Manager

  1. From the ​​Control Center​ menu, select Domain Ownership Manager.
  2. Click + Validate a domain.
  3. In the Validate domain window:
    1. Enter the domain name. You can enter more than one name to validate more domains.
      • Domain names can contain letters (a-z), numbers (0-9), and hyphens (-).
      • You can use hyphens, but not at the beginning or end of the domain name.
      • Spaces or special characters aren't supported.
      • The maximum length of each label is 63 characters, and a full domain name can have a maximum of 253 characters.
    2. Select one of the validation scopes:
      • HOST. Use for exact domains. For example, blog.example.com.
      • WILDCARD. Use for first-level subdomains. For example, when you enter example.com, blog.example.com and 123.example.com are validated, but not xyz.blog.example.com or top level example.com.
      • DOMAIN. Use for exact domains and all subdomains. For example, when you enter example.com, then blog.example.com, 123.blog.example.com, and x.123.blog.example.com are validated.
  4. Click Submit.

You can see the newly added domain in the Pending tab. The initial status is Request accepted.

2. Update your DNS configuration

  1. View the domain details.
  2. In Domain validation details, navigate to the TXT record tab and copy the challenge token values for Name and Value.
  3. In your DNS provider:
    1. Add a new TXT record: _akamai-{host|wildcard|domain}-challenge.domainName. Include the host, wildcard, or domain part, depending on the validation scope of your domain.
      For a domain called example.com and the DOMAIN validation scope, the record should be: _akamai-domain-challenge.example.com.
    2. Add the challenge token you copied from the Domain Ownership Mmanager's UI. The format can be either “token=1234….5678” or “1234….5678”.

👍

After you update your DNS records or token, you can either wait for the next background job or request an instant validation. The validation process starts right away or after a short delay, depending on the number of requests in the queue.

Check the domain status to monitor the validation progress. After it completes, your domain status changes to Validated.

Instantly validate a domain

Once you’ve updated your DNS, you can request to instantly validate your domain. This skips the standard schedule of Domain Ownership Manager background jobs, and validates the domain straight away.

  1. In the Domain Ownership Manager, select the domain you want to validate and click the action menu icon.
  2. Select Validate Now.
  1. In the pop-up window, select TXT as the preferred validation method.
  2. Click Validate Now.

The domain validation starts immediately.