20 Nis Domain Name Example Update

The following command creates and makes an active nis domain configuration for an nis domain called nisdomain on the svm named vs1 with an nis server at ip address 192 0 2 180.
Nis domain name example. A domain typically encompasses a group of hosts under the same administration. In the networking terminology the domain name is the mapping of ip with the name. A directory named example domain which is the same as the domain name on your system containing nis server s database files is also created with the default values.
Only the root user can set the name of the domain by giving the domainname command an. Domainname command in linux is used to return the network information system nis domain name of the host you can use hostname d command as well to get the host domainname if the domain name is not set up in your host then the response will be none. Vs1 vserver services name service nis domain create vserver vs1 domain nisdomain active true nis servers 192 0 2 180.