How To: Properly Add Host Names to the Management Gateway

Version 11

    The Management gateway appliance allows you to add host names using the Web GUI interface. In order to activate or download new updates you may need to add the proper LANDesk hosts by navigating to the "Host names" tab under the "System" button.

     

    This should be generally self explanitory but is often misunderstood and is slightly different than a typical Windows hosts file.

     

    In the example below notice the DNS name, "landesk.com" and the host name. This appears to be correct, however it is not. After adding the hosts, view the output from the hosts file of the gateway.

     

     

                  GatewayHost1.JPG       

     

    Output of the hosts file

    # /etc/hosts

    # This file is generated automatically.

    # Any modifications to this file could get overwritten

    #

    127.0.0.1          localhost.localdomain localhost

    192.168.0.85        78.92.155.73. 78.92.155.73

    # 3 user defined hosts entries

    64.40.112.33          landesk.com patch

    204.246.148.180        landesk.com license

    208.112.122.52      landesk.com patchec


    This will not work because there is no host name preceding the domain name. The FQDN of each host is not formatted correcty and therefore the IP stack will not be able to resolve any of the hosts added.

    Below is the correct way to add the host information to the Management Gateway. Notice the FQDN added to the "DNS name" column. The "Host name" also needs to be included for host name only resolution.

    GatewayHost2.JPG

      Output of the hosts file

    # /etc/hosts

    # This file is generated automatically.

    # Any modifications to this file could get overwritten

    #

    127.0.0.1     localhost.localdomain localhost

    192.168.0.85   78.92.155.73. 78.92.155.73

    # 3 user defined hosts entries

      

    204.246.148.180   license.landesk.com license

     

    64.40.112.33  patch.landesk.com patch

    208.112.122.52    patchec.landesk.com patchec