Unleashed v1.4
[unleashed.git] / share / man / man4 / defaultdomain.4
blob751b7591523661264de68121c20c4c38ee0151f7
1 '\" te
2 .\" Copyright (c) 2000, 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 DEFAULTDOMAIN 4 "Feb 25, 2017"
7 .SH NAME
8 defaultdomain \- specify host's domain name
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/etc/defaultdomain\fR
13 .fi
15 .SH DESCRIPTION
16 .LP
17 The file \fB/etc/defaultdomain\fR determines a host's domain name for direct
18 use by the \fBNIS\fR name service. The \fBdefaultdomain\fR file
19 is read at boot time and its contents used by the \fBdomainname\fR(8) command.
20 Because of its use by \fBdomainname\fR, \fBdefaultdomain\fR is also used by the
21 \fBLDAP\fR service (see \fBldap\fR(1)). Under certain, narrow circumstances
22 (see \fBresolv.conf\fR(4)), because \fBdomainname\fR uses \fBdefaultdomain\fR,
23 a \fBDNS\fR client can use the contents of \fBdefaultdomain\fR.
24 .sp
25 .LP
26 The contents of \fBdefaultdomain\fR consists of a single line containing a
27 host's domain name.
28 .SH SEE ALSO
29 .LP
30 \fBuname\fR(1), \fBldapclient\fR(8),
31 \fBypbind\fR(8), \fBypinit\fR(8), \fBresolv.conf\fR(4)
32 .SH NOTES
33 .LP
34 The \fBdefaultdomain\fR file is created and modified by Solaris installation
35 and configuration scripts. Only users knowledgeable of name service
36 configuration should edit the file.