共用方式為


RequireDNS

[This property is available for use only in Windows Server 2003.]

This property is not supported. DNS registration is not required for a Network Name resource.

**Windows Server 2003: **

The RequireDNS property determines whether DNS registration is required for a Network Name resource. The following table summarizes the attributes of the RequireDNS property.

Attribute Value
Data type
DWORD
Access
Read/write
Status
Optional
Structure
CLUSPROP_DWORD
Minimum
0 (DNS registration not required)
Maximum
1 (DNS registration required for resource to come online)
Default
0

If RequireDNS is set to 1, the Network Name resource cannot come online if DNS registration fails.

Examples

The property value portion of a property list entry for RequireDNS can be set with the following example code.

DWORD          RequireDNSData  = 1;
CLUSPROP_DWORD RequireDNSValue;

RequireDNSValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
RequireDNSValue.cbLength  = sizeof(DWORD);
RequireDNSValue.dw        = RequireDNSData;

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise
End of server support
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

See also

CreatingDC

RequireKerberos

ResourceData