8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / man / man1m / check-hostname.1m
bloba69698b84c8820804c4f95c48489cce7bf510a05
1 '\" te
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"
7 .SH NAME
8 check-hostname \- check if sendmail can determine the system's fully-qualified
9 host name
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fB /usr/sbin/check-hostname\fR
14 .fi
16 .SH DESCRIPTION
17 .sp
18 .LP
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.
25 .SH FILES
26 .sp
27 .ne 2
28 .na
29 \fB\fB/etc/hosts\fR\fR
30 .ad
31 .RS 22n
32 Host name database
33 .RE
35 .sp
36 .ne 2
37 .na
38 \fB\fB/etc/nsswitch.conf\fR\fR
39 .ad
40 .RS 22n
41 Name service switch configuration file
42 .RE
44 .sp
45 .ne 2
46 .na
47 \fB\fB/etc/resolv.conf\fR\fR
48 .ad
49 .RS 22n
50 Configuration file for name server routines
51 .RE
53 .SH ATTRIBUTES
54 .sp
55 .LP
56 See \fBattributes\fR(5) for descriptions of the following attributes:
57 .sp
59 .sp
60 .TS
61 box;
62 c | c
63 l | l .
64 ATTRIBUTE TYPE  ATTRIBUTE VALUE
66 Interface Stability     Evolving
67 .TE
69 .SH SEE ALSO
70 .sp
71 .LP
72 \fBdomainname\fR(1M), \fBsendmail\fR(1M), \fBhosts\fR(4), \fBattributes\fR(5)