Share via


ExportByDnsKey method of the PS_DnsServerDnsSecPublicKey class

Exports DS or DNSKEY information of a DNSSEC signed zone.

Syntax

uint32 ExportByDnsKey(
  [in]  string                  ZoneName,
  [in]  string                  Path,
  [in]  boolean                 PassThru,
  [in]  boolean                 UnAuthenticated,
  [in]  boolean                 Force,
  [in]  boolean                 NoClobber,
  [in]  string                  ComputerName,
  [out] DnsServerResourceRecord cmdletOutput[]
);

Parameters

ZoneName [in]

Name of the primary zone from which DnsSec public keys will be exported.

Path [in]

Absolute path used to place the keyset file, the file name will be automatically created according to the zone name

PassThru [in]

If specified, returns the object or objects on which the operation was done.

UnAuthenticated [in]

If specified, even if the admin does not have permissions to run the cmdlets on the remote server, the provider would query for DNSKEY and export the required data.

Force [in]

If specified, overrides default confirmation before performing the operation

NoClobber [in]

If specified, does not overwrite if the file already exists

ComputerName [in]

DNS server name which is authoritative for the Signed zone

cmdletOutput [out]

DnsServerResourceRecord

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPsProvider.mof
DLL
DNSServerPSProvider.dll

See also

PS_DnsServerDnsSecPublicKey