domainname1
Set or print yp domain of current host system
Usage
domainname [name-of-domain]
Overview
The domainname utility prints the YP domain name of the current host. The superuser can set the domain name by supplying a /etc/defaultdomain file (see defaultdomain(5)). This is used at system boot time by rc(8) to initialize the domainname.
Releases
61 releases since OpenBSD 2.1; the text changed 12 times.