Zone to secondary

Synopsis

Submit a bulk zone convert secondary request.

Syntax

Convert-EDNSZoneToSecondary -Zone <Object[]> -Masters <String[]> [-Comment <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Convert-EDNSZoneToSecondary -Zone <Object[]> -Masters <String[]> -TSIGKeyAlgorithm <String> -TSIGKeyName <String> -TSIGKeySecret <String> [-Comment <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Submits an asynchronous request to convert one or more DNS zones to secondary.

The request body must be a JSON array, with each object containing the required data for the conversion.

All zones must belong to the same contract and group.

The conversion is handled by an offline task.

Use the requestId returned in the response to monitor the task's progress and retrieve the results when complete.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑Comment

Free-form user comments.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Masters
Required

For SECONDARY zones only. The names or addresses of the customer's nameservers that the zone data should be retrieved from.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑TSIGKeyAlgorithm
Conditionally required

The algorithm used to encode the TSIG key's secret data.

‑TSIGKeyName
Conditionally required

The name of your TSIG key. This is a name that's unique across all of Akamai's customers. Since the key name is treated like a DNS name, the value is lowercase and the server removes any trailing dots.

‑TSIGKeySecret
Conditionally required

A Base64-encoded string of data. When decoded, it needs to contain the correct number of bits for the chosen algorithm. If the input is not correctly padded, the server applies the padding.

‑Zone
Required

Your zone's name.

Related Links