Sunday, June 14, 2015

How to configure DNS for Citrix XenServer

Unfortunately there is no direct method to manually configure your DNS servers in Citrix XenServer console.

You may have your DNS server automatically assigned via DHCP configuration received from a DHCP server, however in a real environment you won't have your XenServer host configured with dynamic IPs.

To configure your DNS servers do the following:

From Console, access your local command shell.

Citrix XenServer DNS











Now list your existing physical network interfaces, xe pif-list.
Reconfigure your target network interface with new IPv4 configurations, xe pif-reconfigure-ip uuid=youruuid mode=static IP=ipaddresshere netmask=subnetmask gateway=yourgateway DNS=dnsserver1,dnsserver2.












Now your DNS server(s) is successfully configured.












Note: for multiple DNS server configuration, use the same command line and add all name servers separated by comma ",".

No comments:

Post a Comment