domainname(1yp)domainname(1yp)Namedomainname - display or set the name of the current domain for this
system
Syntaxdomainname [nameofdomain]
Description
The command, when used without an argument, displays the name of the
current domain. The startup script must be used to set the current
domain name before any other YP commands can be issued.
A domain is a logical grouping of networked-connected systems estab‐
lished for the purpose of sharing a common set of data files. Domains
are only used by the yellow pages (YP) service and are called YP
domains. A YP domain is a directory in established through the use of
the command, where a YP server holds all of the YP maps. Each YP map
contains a set of keys and associated key values. For example, in a
map called the host names stored there constitute the keys. The corre‐
sponding internet addresses of each host constitute the associated key
values.
See Alsoypfiles(5yp), ypsetup(8yp)domainname(1yp)