Nis Domain Name Linux. Use a Password-like NIS Domain Name and Hostname Any machine within an NIS domain can use commands to extract information from the server without authentication as long as the user knows the NIS servers DNS hostname and NIS domain name. It doesnt allow for example the none domainname which is the default under Linux and makes a lot of problems.
NIS released by Sun in the 1980s was the first prime time administrative database. Dont use the command domainname to get the DNS domain name because it will show the NIS domain name and not the DNS domain name. SET NAME When called with one argument or with the --file option the commands set the host name the NISYP domain name or the node name.
Hostname is used to display the systems DNS name and to display or set its hostname or NIS Network Information Services domain name.
It was originally called the Sun Yellow Pages but eventually had to be renamed for legal reasons. On Red Hat based distros you can install it like this. Both Linux UNIX comes with the following utilities to display hostname domain name. In the networking terminology the domain name is the mapping of IP with the name.