Record set
Synopsis
Replace a record set.
Syntax
Set-EDNSRecordSet -Zone <String> -Name <String> -Type <String> -TTL <String> -RData <String[]> [-AutoIncrementSOA] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]Set-EDNSRecordSet -Zone <String> -Body <Object> [-AutoIncrementSOA] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]Description
Replaces an existing record set with the provided values.
You can provide values individually (Name, Type, TTL, and more) or as a PSCustomObject.
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. |
‑AutoIncrementSOA | When updating all records in a zone you must increase the serial number section of the SOA record before doing so. If this switch is present the existing serial number will be automatically incremented by 1. |
‑BodyConditionally required | A request body, either as a |
‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
‑NameConditionally required | A domain name, including the parent zone. |
‑RDataConditionally required | An array or a comma-separated string. Each entry encodes the rdata for a single record. If you want to have three |
‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑TTLConditionally required | The number of seconds that this record should live in a resolver's cache before being refetched. |
‑TypeConditionally required | The record set type. |
‑ZoneRequired | Your zone's name. |
Related Links
Updated 28 days ago
