2.2.3.1.2 DNS_IP_VALIDATE_RETURN_FLAGS

DNS_IP_VALIDATE_RETURN_FLAGS is a DWORD value that specifies the results of IP validation performed by the DNS server. This value will be used by the DNS server to populate the Flags field within each DNS_ADDR structure (section 2.2.3.2.2) present in the DNS_ADDR_ARRAY (section 2.2.3.2.3) structure which in turn is present inside the returned DNS_RPC_IP_VALIDATE structure (section 2.2.3.2.4)<28>.

Constant/value

Description

ERROR_SUCCESS

0x00000000

The remote IP address is valid.

DNS_IPVAL_INVALID_ADDR

0x00000001

Remote IP address is not a valid IP address.

DNS_IPVAL_UNREACHABLE

0x00000002

Remote IP address is not reachable.

DNS_IPVAL_NO_RESPONSE

0x00000003

Remote IP address does not appear to be hosting a DNS server.

DNS_IPVAL_NOT_AUTH_FOR_ZONE

0x00000004

Remote IP address is not authoritative for the required zone, specified by pszContextName in the DNS_RPC_IP_VALIDATE (section 2.2.3.2.4).

DNS_IPVAL_UNKNOWN_ERROR

0x000000FF

The DNS server encountered an unknown error occurred while validating IP address.

DNS_IPVAL_NO_TCP

0x80000000

Indicated that remote IP address, responds to UDP DNS messages, but does not respond to TCP DNS messages.