This article describes how to enable XML DNS Address Resolution in XenDesktop.
This setting changes whether ICA files returned by a broker service to a user device contain the numeric IP address or the DNS name of the desktop machine to which a session should be established.
By the default value ($false), ICA files will always contain a numeric IP address. To have DNS names appear in the ICA files, set the value to $true.
Note: The Set-BrokerSite cmdlet modifies properties of the current broker site.
Launch Powershell on any DDC in the site and load Citrix Snap ins by running "asnp Citrix*.
Run the following command:
Set-BrokerSite -DnsResolutionEnabled 1
Even when DNS resolution is enabled ($true), IP addresses might still appear in ICA files. The reasons for this include, for example, that the broker service is unable to obtain a DNS name for the target machine, or that Web Interface is configured to always use numeric IP addresses in this context.
CTX128436 – How to Enable DNS Address Resolution in XenApp 6
Powershell Help: https://docs.citrix.com/en-us/xenapp-and-xendesktop/7-6/cds-sdk-wrapper-rho/xad-commands.html
CTX127254 - XenDesktop SDK Cmdlet Help