domainname(1M) — ADMINISTRATOR COMMANDS
NAME
domainname − get/set name of current secure RPC domain
SYNOPSIS
domainname [ newname ]
DESCRIPTION
The domainname command is used on secure RPC machines. With no argument, the name of the machine’s secure RPC domain is written to standard output.
The domainname command with an argument sets the name of the secure RPC domain to newname. newname may be up to 255 characters long.
domainname is normally run by the RPC administrator on all machines to set the name of the secure RPC domain. To use secure RPC, machines must have secure RPC domain names.
NOTES
Secure RPC domain names are not related to and should not be confused with RFS domains.
The RPC package expects the newname argument to be a valid filename for the underlying file system in use on the networked machines using secure RPC. For example, machines based on the s5 file system should not have domain names longer than 14 characters in length or problems may occur when using secure RPC.
The secure RPC domain name set by domainname will not be remembered across reboots. To give a machine a "permanent" name, set the SRPC_DOMAIN tunable in /etc/master.d/kernel to the secure RPC domain name.