Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > D

domainname(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

domainname — set or display name of Network Information Service domain

SYNOPSIS

domainname [name_of_domain]

DESCRIPTION

Network Information Service (NIS) uses domain names to refer collectively to a group of hosts. Without an argument, domainname displays the name of the NIS domain. Only superuser can set the domain name by providing name_of_domain. The domain name is usually set in the configuration file /etc/rc.config.d/namesvrs by setting the NIS_DOMAIN variable.

DEPENDENCIES

The name_of_domain is normally a valid Internet domain name.

NIS servers use the NIS domain name as the name of a subdirectory of /var/yp. For this reason, name_of_domain should not be a . or .. and it should not contain /. Since the NIS domain name can be as long as 64 characters, name_of_domain may exceed the maximum file name length allowed on a given file system. If that length is exceeded, the subdirectory name becomes a truncated version of the NIS domain name.

The first 14 characters of all NIS domains on the network must be unique; truncated names should be checked to verify that they meet this requirement.

AUTHOR

domainname was developed by Sun Microsystems, Inc.

SEE ALSO

ypinit(1M), getdomainname(2), setdomainname(2).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.