Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DOMAINNAME(1)		  BSD General Commands Manual		 DOMAINNAME(1)

NAME
     domainname	-- set or print	name of	current	YP/NIS domain

SYNOPSIS
     domainname	[ypdomain]

DESCRIPTION
     Domainname	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 in
     the network initialization	script /etc/rc.network,	normally run at	boot
     time.

NOTA BENE
     The YP/NIS	(formerly ``Yellow Pages'' but renamed for legal reasons) do-
     main 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)

HISTORY
     The domainname command appeared in	FreeBSD	1.1, based on a	similar	com-
     mand in SunOS.

FreeBSD	2.0		      September	18, 1994		   FreeBSD 2.0

NAME | SYNOPSIS | DESCRIPTION | NOTA BENE | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=domainname&sektion=1&manpath=FreeBSD+3.2-RELEASE>

home | help