Master zone file

Set-EdnsMasterFile

Synopsis

Upload a master zone file.

Syntax

Set-EdnsMasterFile [-Zone] <String> [[-Body] <String>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Uploads new record set data for this zone in master zone file format. This operation applies to primary zones and secondary zones and replaces any existing record sets. See RFC 1035 section 5 and RFC 1034 section 3.6.1 for more information. AKAMAICDN and AKAMAITLC records can't be represented in this format. Uploading a zone file doesn't affect these records.

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.

‑Body

A request body, either as a PSCustomObject or a string. This parameter supports pipelining.

‑EdgeRCFile

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

‑Section

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

‑Zone
Required

Your zone's name

Related Links

User Guide: Overview