summaryrefslogtreecommitdiff
path: root/share/man/man5/defaultdomain.5
blob: db21ed82d9a06004ad1aa5b3d976628a1f343e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.\" $OpenBSD: defaultdomain.5,v 1.4 2012/05/25 06:22:09 jmc Exp $
.\" Written by Jared Yanovich
.\" This file belongs to the public domain.
.Dd $Mdocdate: May 25 2012 $
.Dt DEFAULTDOMAIN 5
.Os
.Sh NAME
.Nm defaultdomain
.Nd default YP domain name
.Sh SYNOPSIS
.Nm /etc/defaultdomain
.Sh DESCRIPTION
The
.Nm
file is read by
.Xr rc 8
at system startup time.
It is used to set the YP domain name of the host machine (see
.Xr yp 8 ) .
.Pp
This file should contain a single line specifying the system domain name as
supplied to
.Xr domainname 1 .
Empty lines and lines beginning with
.Sq #
in the file are ignored.
.Sh FILES
.Bl -tag -width "/etc/defaultdomain" -compact
.It Pa /etc/defaultdomain
default domain name
.El
.Sh SEE ALSO
.Xr domainname 1 ,
.Xr rc 8 ,
.Xr yp 8