2 .\" Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH CHECK-HOSTNAME 1M "Mar 8, 2006"
8 check-hostname \- check if sendmail can determine the system's fully-qualified
13 \fB /usr/sbin/check-hostname\fR
19 The \fBcheck-hostname\fR script is a migration aid for \fBsendmail\fR(1M). This
20 script tries to determine the local host's fully-qualified host name (FQHN) in
21 a manner similar to \fBsendmail\fR(1M). If \fBcheck-hostname\fR is able to
22 determine the \fBFQHN\fR of the local host, it reports success. Otherwise,
23 \fBcheck-hostname\fR reports how to reconfigure the system so that the
24 \fBFQHN\fR can be properly determined.
29 \fB\fB/etc/hosts\fR\fR
38 \fB\fB/etc/nsswitch.conf\fR\fR
41 Name service switch configuration file
47 \fB\fB/etc/resolv.conf\fR\fR
50 Configuration file for name server routines
56 See \fBattributes\fR(5) for descriptions of the following attributes:
64 ATTRIBUTE TYPE ATTRIBUTE VALUE
66 Interface Stability Evolving
72 \fBdomainname\fR(1M), \fBsendmail\fR(1M), \fBhosts\fR(4), \fBattributes\fR(5)