By default, when sending the addresses of desktop machines and RDS hosts to clients and gateways, Horizon Connection Server gives preference to IP addresses. You can change this default behavior with an LDAP attribute that tells Horizon Connection Server to give preference to DNS names. In certain environments, having Connection Server return DNS names to clients and gateways can provide additional flexibility in designing a network infrastructure.

The LDAP attribute affects clients that run Horizon Client for Windows, HTML Access, and secure gateways on Connection Server instances.

Prerequisites

See the Microsoft TechNet Web site for information on how to use the ADSI Edit utility on your Windows Server operating system version.

Procedure

  1. Start the ADSI Edit utility on your Connection Server computer.
  2. In the console tree, select Connect to.
  3. In the Select or type a Distinguished Name or Naming Context text box, type the distinguished name DC=vdi, DC=vmware, DC=int.
  4. In the Select or type a domain or server text box, select or type localhost:389 or the fully qualified domain name (FQDN) of the Connection Server computer followed by port 389.
    For example: localhost:389 or mycomputer.mydomain.com:389
  5. On the object CN=Common, OU=Global, OU=Properties, set the pae-PreferDNS attribute value to 1.
    When this attribute is set to 1, Connection Server returns a DNS name, if a DNS name is available and the recipient supports name resolution. Otherwise, Connection Server returns an IP address, if an IP address of the correct type for your environment (IPv4 or IPv6) is available.

    When this attribute is not set or is set to 0, Connection Server returns an IP address, if an IP address of the correct type is available. Otherwise, an IP address compatibility error is returned.