githubEdit

Akamai Edge DNS

"Akamai Edge DNS Provider" configures Akamai's Edge DNSarrow-up-right service.

This provider interacts with Edge DNS via the Edge DNS Zone Management APIarrow-up-right.

Before you can use this provider, you need to create an "API Client" with authorization to use the Edge DNS Zone Management APIarrow-up-right.

See the "Get Started" section of Edge DNS Zone Management APIarrow-up-right, which says, "To enable this API, choose the API service named DNS—Zone Record Management, and set the access level to READ-WRITE."

Follow directions at Authenticate With EdgeGridarrow-up-right to generate the required credentials.

Configuration

To use this provider, add an entry to creds.json with TYPE set to AKAMAIEDGEDNS along with the authentication fields.

Example:

creds.json
{
  "akamaiedgedns": {
    "TYPE": "AKAMAIEDGEDNS",
    "client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "host": "akaa-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxx.akamaiapis.net",
    "access_token": "akaa-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "client_token": "akaa-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "contract_id": "X-XXXX",
    "group_id": "NNNNNN"
  }
}

Usage

A new zone created by DNSControl:

automatically creates SOA and authoritative NS records.

Akamai assigns a unique set of authoritative nameservers for each contract. These authorities should be used as the NS records on all zones belonging to this contract.

The NS records for these authorities have a TTL of 86400.

Add:

modifier to the dnscontrol.js D() function so that DNSControl does not change the TTL of the authoritative NS records.

Example dnsconfig.js:

AKAMAICDN is a proprietary record type that is used to configure Zone Apex Mappingarrow-up-right. The AKAMAICDN target must be preconfigured in the Akamai network.

Last updated