次の方法で共有


Set method of the PS_DhcpServerv6DnsSetting class

Configures how the DNS server should be updated by the DHCP server with client-related information.

Syntax

uint32 Set(
  [in]  string                 ComputerName,
  [in]  boolean                NameProtection,
  [in]  boolean                DeleteDnsRROnLeaseExpiry,
  [in]  string                 DynamicUpdates,
  [in]  string                 IPAddress,
  [in]  string                 Prefix,
  [in]  boolean                PassThru,
  [out] DhcpServerv6DnsSetting cmdletOutput
);

Parameters

ComputerName [in]

DNS name or IP address of the target computer running the DHCP server service.

NameProtection [in]

Enables or disables name protection on the DHCP server. If Name protection is enabled and if there is an existing DNS record already by the same name, the DNS update for the client will fail instead of being overwritten.

DeleteDnsRROnLeaseExpiry [in]

Specifies if the DHCP server should delete the client's DNS resource records after the lease expires. Valid values are true, false. Can only be set if DynamicUpdates is set to Always or OnClientRequest.

DynamicUpdates [in]

Specifies the conditions under which to perform dynamic updates on the DNS server. Valid values are Always, Never, OnClientRequest. Always - DHCP server will always perform dynamic DNS registration of A and PTR records for the clients. Never - DHCP will not perform any dynamic DNS registration OnClientRequest - DHCP server will perform dynamic DNS registration of A and PTR records if the client has requested for the same in the DHCP client message.

Always ("Always")

Never ("Never")

OnClientRequest ("OnClientRequest")

IPAddress [in]

IP Address of the reservation on which the DNS update behavior is to be configured.

Prefix [in]

Subnet prefix of the IPv6 scope on which the DNS update behavior is to be configured.

PassThru [in]

If this parameter is specified, the cmdlet returns the PowerShell object which is modified.

cmdletOutput [out]

An embedded instance of the DhcpServerv6DnsSetting class.

Requirements

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

See also

PS_DhcpServerv6DnsSetting