System Administration Commands check-hostname(1M)
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(1M). This script tries to determine the localhost's fully-qualified host name (FQHN) in a manner similar
to sendmail(1M). 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 routinesATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|______________________________|
| Availability | service/network/smtp/sendmail||_____________________________|______________________________|
| Interface Stability | Committed ||_____________________________|______________________________|
SEE ALSO
domainname(1M), sendmail(1M), hosts(4), attributes(5)SunOS 5.11 Last change: 8 Mar 2006 1