Partager via


Set method of the PS_DnsServerEDns class

Sets DNS server EDns settings.

Syntax

uint32 Set(
  [in]  datetime      CacheTimeout,
  [in]  boolean       EnableProbes,
  [in]  boolean       EnableReception,
  [in]  string        ComputerName,
  [in]  boolean       PassThru,
  [out] DnsServerEDns cmdletOutput
);

Parameters

CacheTimeout [in]

Specifies the number of seconds that EDns information is cached. The default value is 604,800 seconds (one week). Range = 10 to 86400.

EnableProbes [in]

Enables or disables EDnsProbes.

0

Disables active support for EDnsProbes.

1

Enables active support for EDnsProbes.

EnableReception [in]

true to enable EDNS reception; false to disable reception.

ComputerName [in]

Specifies the remote computer on which to execute the command.

PassThru [in]

true to return the current instance in the CmdletOutput parameter. The default is false.

cmdletOutput [out]

On return, contains an instance of the current object. This parameter returns a value only if PassThru is set to true.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Dns
MOF
DnsServerPSProvider.mof
DLL
DnsServerPSProvider.dll

See also

PS_DnsServerEDns