Поделиться через


DhcpServerv4DnsSetting class

Dhcp Server v4 Dns Setting.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DhcpServerPSProvider"), AMENDMENT]
class DhcpServerv4DnsSetting
{
  String  DynamicUpdates;
  boolean DeleteDnsRROnLeaseExpiry;
  boolean UpdateDnsRRForOlderClients;
  boolean NameProtection;
  boolean DisableDnsPtrRRUpdate;
  string  DnsSuffix;
};

Members

The DhcpServerv4DnsSetting class has these types of members:

Properties

The DhcpServerv4DnsSetting class has these properties.

DeleteDnsRROnLeaseExpiry

Data type: boolean

Access type: Read/write

Indicates if the server should delete DNS records on lease expiry.

DisableDnsPtrRRUpdate

Data type: boolean

Access type: Read/write

Indicates if the PTR record registration has been disabled.

Windows Server 2012: This value is supported beginning with Windows Server 2012 R2.

DnsSuffix

Data type: string

Access type: Read/write

The domain under which the clients are to be registered.

Windows Server 2012: This value is supported beginning with Windows Server 2012 R2.

DynamicUpdates

Data type: String

Access type: Read/write

Dynamic Update behavior of the Dhcp Server.

Always ("Always")

Never ("Never")

OnClientRequest ("OnClientRequest")

NameProtection

Data type: boolean

Access type: Read/write

Indicates if name protection (DHCIDRR Validation) is enabled for the scope.

UpdateDnsRRForOlderClients

Data type: boolean

Access type: Read/write

Indicates if the server should perform DNS registration for older clients which do not support dynamic DNS Update.

Requirements

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