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