Domain Name Linux Server. Nslookup is used to troubleshoot DNS related problems. Use one of the below command to verify domain owner information from the Linux terminal.
At the terminal type hostname command. Host Command is a simple CLI application to perform DNS lookup. It is usually the hostname followed by the DNS domain name the part after the first dot.
You can use hostname -d command as well to get the host domainname.
To obtain IP which is mapped to a domain name use the following command in your terminal. Type following command and click on DNS tab Setup hostname and domain name. Your dNS domain name. B domainname show or set the systems NISYP domain name.