'\" 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] .TH check-hostname 1M "8 Mar 2006" "SunOS 5.11" "System Administration Commands" .SH NAME check-hostname \- check if sendmail can determine the system's fully-qualified host name .SH SYNOPSIS .LP .nf \fB /usr/sbin/check-hostname\fR .fi .SH DESCRIPTION .sp .LP The \fBcheck-hostname\fR script is a migration aid for \fBsendmail\fR(1M). This script tries to determine the local host's fully-qualified host name (FQHN) in a manner similar to \fBsendmail\fR(1M). If \fBcheck-hostname\fR is able to determine the \fBFQHN\fR of the local host, it reports success. Otherwise, \fBcheck-hostname\fR reports how to reconfigure the system so that the \fBFQHN\fR can be properly determined. .SH FILES .sp .ne 2 .mk .na \fB\fB/etc/hosts\fR\fR .ad .RS 22n .rt Host name database .RE .sp .ne 2 .mk .na \fB\fB/etc/nsswitch.conf\fR\fR .ad .RS 22n .rt Name service switch configuration file .RE .sp .ne 2 .mk .na \fB\fB/etc/resolv.conf\fR\fR .ad .RS 22n .rt Configuration file for name server routines .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityEvolving .TE .SH SEE ALSO .sp .LP \fBdomainname\fR(1M), \fBsendmail\fR(1M), \fBhosts\fR(4), \fBattributes\fR(5)