Linux / Unix Command: hostname ... domainname - show or set the system's NIS/ YP domain name ... These names are used by many of the networking programs to identify the machine.
linux.about.com