80 Find My Domain Name Linux New

If you are using debian linux.
Find my domain name linux. Don t use the command domainname to get the dns domain name because it shows the nis domain name and not the dns domain name. A hostname is a name which is given to a computer and it attached to the network. Hostname command in linux is used to obtain the dns domain name system name and set the system s hostname or nis network information system domain name.
We will walk you through steps that need to be taken to the setup domain name on your linux server. When i am browsing my network share folder i can see a lot of computer workgroup name and domain. Find out and set up the value for hostname in the file etc sysconfig network.
Display the fqdn fully qualified. Display the name of the dns domain. At the unix shell prompt enter nslookup followed by the ip address for example.
Our computer name and domain were set by the system admin in the company. 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. I was curious what is my computer name and fall under which domain group.
To find the domain name associated with an ip number use the nslookup command. So i did a check on my laptop btw i am running windows xp professional. Find out the domain name associated with an ip number in unix.
A both linux unix comes with the following utilities to display hostname domain name. A hostname show or set the system s host name b domainname show or set the system s nis yp domain name c dnsdomainname show the system s dns domain name d nisdomainname show or set system s nis yp domain name e ypdomainname show or set the system s nis yp domain name. For such a scenario you have to configure the domain name for your linux server.