3.4.4.3.3.1.2 ActiveDirectoryDirectoryServer/HostName

The HostName element contains the FQDN (1) of the domain controller.

 <xs:element name="HostName" nillable="true" type="xs:string" />

The HostName element is populated from the computer!dnsHostName attribute on the Directory Server's computer object. The Directory Server's computer object is referenced by the server!serverReference attribute ([MS-ADTS] section 6.1.1.2.2.1.2.1) on the parent of the nTDSDSA object specified by the GetADDomainControllerRequest/NtdsSettingsDN (section 3.4.4.3.2.3) input parameter element. If the server!serverReference attribute is not present or cannot be read due to the client lacking access rights to read the attribute, the server returns the SOAP fault described in section 3.4.4.3.8.1. If the computer!dnsHostName attribute is not present or cannot be read due to the client lacking access rights to read the attribute, the server returns a null ActiveDirectoryDirectoryServer/HostName element.