Master zone file

Get-EdnsMasterFile

Synopsis

Get a master zone file.

Syntax

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

Description

Downloads this zone's record set data in master zone file format. This operation applies to primary zones and secondary zones. 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, so they're displayed as comment lines.

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.

‑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