The CLUSCTL_RESOURCE_GET_DNS_NAME resource control code retrieves the fully qualified domain name (FQDN) from the designated resource.

Protocol version 2.0 servers SHOULD fail this method using ERROR_INVALID_FUNCTION (0x00000001).

The server MUST fail this method by using error code 0x00000001 (ERROR_INVALID_FUNCTION) if the designated type of the resource does not support the functionality of an alternate computer name.

After successful completion of the method, the server MUST write the computer name, as a null-terminated Unicode string, to the buffer that is designated by lpOutBuffer.

The server SHOULD accept a CLUSCTL_RESOURCE_GET_DNS_NAME resource control code request if its protocol server state is read-only and MUST accept the request for processing if it is in the read/write state, as specified in section 3.1.1.