Diagnosing DNS

SIMS 3.5 installation automatically diagnoses the host name to determine whether the name returned is a fully-qualified domain name, but somehow cannot be accessed.

The following are the steps that SIMS Installation takes.

  1. The procedure makes a function call to gethostbyname(), which in turn uses the file nsswitch.conf to check the host name.
  2. If the lookup results in a fully-qualified domain name, the installation proceeds; otherwise, it runs the SIMS DNS lookup utility. This utility directly accesses the Internet Domain Name Server.
  3. The SIMS DNS lookup utility, in turn, uses the file resolv.conf and directly queries the Internet Domain Name Servers.
  4. If the SIMS DNS lookup utility cannot find the DNS name in the system, it displays an error message and exits.
  5. If, however, the SIMS DNS lookup utility finds the DNS name in the system, it further searches to check whether the name is a fully-qualified domain name.
  6. If the SIMS DNS lookup utility finds a DNS name that is not a fully-qualified name, it displays a message indicating that the Administrator needs to configure the DNS on the machine correctly before installing.
  7. If the SIMS DNS lookup utility concludes that the name it found is a fully-qualified domain name, it displays a message indicating that the name is good, but cannot be accessed. It then suggests that you check the file nsswitch.conf for the search order for hosts or the /etc/hosts files if this file is being used.
FIGURE 10-1 shows the steps that SIMS 3.5 installation takes to check for a fully-qualified domain name.

FIGURE  10-1 DNS Diagnostic Procedure




Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.