xref: /titanic_44/usr/src/man/man1m/check-hostname.1m (revision d4f95bf4d6ec7ef0f01e5ddf22813ac641edf019)
te
Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
CHECK-HOSTNAME 1M "Mar 8, 2006"
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 local host'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 routines

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
SEE ALSO

domainname(1M), sendmail(1M), hosts(4), attributes(5)