freebsd man page for domainname

Query: domainname

OS: freebsd

Section: 1

Links: freebsd man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DOMAINNAME(1)						    BSD General Commands Manual 					     DOMAINNAME(1)

NAME
domainname -- set or print name of current YP/NIS domain
SYNOPSIS
domainname [ypdomain]
DESCRIPTION
The domainname utility prints the name of the current YP/NIS domain. The super-user can set the domain name by supplying an argument; this is usually done with the nisdomainname variable in the /etc/rc.conf file, normally run at boot time.
NOTES
The YP/NIS (formerly ``Yellow Pages'' but renamed for legal reasons) domain name does not necessarily have anything to do with the Domain Name System domain name, although they are often set equal for administrative convenience.
SEE ALSO
getdomainname(3), rc.conf(5)
HISTORY
The domainname command appeared in FreeBSD 1.1, based on a similar command in SunOS.
BSD
April 22, 2013 BSD
Related Man Pages
domainname(8) - debian
nisdomainname(8) - debian
nisdomainname(8) - suse
ypdomainname(8) - suse
ypset(8) - netbsd
Similar Topics in the Unix Linux Community
question about domainname
domainname command
FQDN and getdomainname
ddns-rev-domainname being created wrong.
awk split domain name