Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

check-hostname (8)

Name

check-hostname - qualified host name

Synopsis

/usr/sbin/check-hostname

Description

System Administration Commands                               check-hostname(8)



NAME
       check-hostname  -  check  if sendmail can determine the system's fully-
       qualified host name

SYNOPSIS
        /usr/sbin/check-hostname


DESCRIPTION
       The check-hostname script is a  migration  aid  for  sendmail(8).  This
       script  tries  to  determine the local host's fully-qualified host name
       (FQHN) in a manner similar to sendmail(8). If check-hostname is able to
       determine  the  FQHN  of the local host, it reports success. Otherwise,
       check-hostname reports how to reconfigure the system so that  the  FQHN
       can be properly determined.

FILES
       /etc/hosts            Host name database


       /etc/nsswitch.conf    Name service switch configuration file


       /etc/resolv.conf      Configuration file for name server routines


EXIT STATUS
       0     Fully-qualified host name was determined.


       >0    Fully-qualified host name could not be determined.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:




       +-----------------------------+------------------------------+
       |      ATTRIBUTE TYPE         |       ATTRIBUTE VALUE        |
       +-----------------------------+------------------------------+
       |Availability                 |service/network/smtp/sendmail |
       +-----------------------------+------------------------------+
       |Interface Stability          |Committed                     |
       +-----------------------------+------------------------------+

SEE ALSO
       hosts(5), attributes(7), domainname(8), sendmail(8)



Solaris 11.4                      26 Apr 2017                check-hostname(8)