xref: /titanic_51/usr/src/man/man4/defaultdomain.4 (revision b0e1d44ee433c64fb17d070b16d4886b9595451f)
te
Copyright (c) 2000, 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]
DEFAULTDOMAIN 4 "Feb 22, 2000"
NAME
defaultdomain - specify host's domain name
SYNOPSIS

/etc/defaultdomain
DESCRIPTION

The file /etc/defaultdomain determines a host's domain name for direct use by the NIS and NIS+ name services. The defaultdomain file is read at boot time and its contents used by the domainname(1M) command. Because of its use by domainname, defaultdomain is also used by the LDAP service (see ldap(1)). Under certain, narrow circumstances (see resolv.conf(4)), because domainname uses defaultdomain, a DNS client can use the contents of defaultdomain.

The contents of defaultdomain consists of a single line containing a host's domain name.

SEE ALSO

NIS+(1), uname(1), ldapclient(1M), nisclient(1M), ypbind(1M), ypinit(1M), resolv.conf(4)

NOTES

The defaultdomain file is created and modified by Solaris installation and configuration scripts. Only users knowledgeable of name service configuration should edit the file.