共用方式為


2.2.3.1.1 DNS_IPVAL_CONTEXT

The DNS_IPVAL_CONTEXT is a DWORD value that specifies possible context values for IP validation. This is used to populate the dwContext field in DNS_RPC_IP_VALIDATE (section 2.2.3.2.4). The DNS server MUST use this value to determine the type of validation that SHOULD<27> be performed for IP address specified in DNS_RPC_IP_VALIDATE (section 2.2.3.2.4).

Constant/value

Description

DNS_IPVAL_DNS_SERVERS

0x00000000

Validate that IP addresses are reachable and operational by the DNS servers.

DNS_IPVAL_DNS_ROOTHINTS

0x00000001

Validate that IP addresses are suitable as root-hints.

DNS_IPVAL_DNS_FORWARDERS

0x00000002

Validate that IP addresses are server level forwarders.

DNS_IPVAL_DNS_ZONE_MASTERS

0x00000003

Validate that IP addresses are remote DNS servers hosting a zone, named as pointed to by pszContextName in the DNS_RPC_IP_VALIDATE (section 2.2.3.2.4).

DNS_IPVAL_DNS_DELEGATIONS

0x00000004

Validate that IP addresses are remote DNS servers are name-server for the delegated zone, named as pointed to by pszContextName in the DNS_RPC_IP_VALIDATE (section 2.2.3.2.4).