defaultdomain(5)

defaultdomain5

Default yp domain name

Overview

The defaultdomain file is read by rc(8) at system startup time. It is used to set the YP domain name of the host machine (see yp(8)).

This file should contain a single line specifying the system domain name as supplied to domainname(1). Empty lines and lines beginning with ‘#’ in the file are ignored.

Files

/etc/defaultdomain

default domain name

Releases

46 releases since OpenBSD 3.6; the text changed 4 times.

  1. 3.6
  2. 3.7–4.1
  3. 4.2–5.1
  4. 5.2–6.1
  5. 6.2–8.0

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.