How to Enable NetScaler Appliance to Use DNS for Resolving the Hostnames to IP Addresses

This article describes how to enable a NetScaler appliance to use the Domain Name System (DNS) for resolving the hostnames to its respective IP addresses.

You will require an SSH utility to access the command line interface of the NetScaler appliance.

By default, the NetScaler appliance cannot resolve the hostnames to its respective IP addresses. You must complete the following tasks to enable the name resolution on the NetScaler appliance:

  • Define name servers
  • Define a DNS suffix

When you enable the NetScaler appliance to use DNS for resolving the hostnames to its respective IP addresses, consider the following points:

  • You must perform the DNS lookup from the command line interface of the NetScaler appliance. If you perform the DNS lookups from the shell prompt of the FreeBSD operating system, the lookups fail because the entry in the /etc/resolver.conf file points to the 127.0.0.2 IP address.

  • The following commands are not available in the command line interface of the appliance:

    • host
    • dig
    • getent/MIP
    • nslookup
  • The NetScaler needs to be able to ping the DNS server on its SNIP/MIP otherwise it shows as down. This is important when NetScaler is behind a firewall.

Related:

Leave a Reply