Linux Domain Name By Ip. Display the network addresses of the hostname. The below five commands can be used to identify multiple domain Linux system IP addresses.
Another way is to use the following grep command. DNS stands for Domain Name System or Domain Name Servers which translates Internet domain and host names to IP addresses and vice versa. Cat etcresolvconf OR less etcresolvconf.
Reverse DNS lookup You can also do the reverse DNS look-up by providing the IP Address as argument to nslookup.
Dnsdomainname Please note that if etchostname file does not exist on Ubuntu Linux the host name is set by a reverse DNS query when the network interface gets an IP address assigned. This command will return the following information. Ubuntutecmintlan 192168561 Host 2. Dig is a flexible cli tool for interrogating DNS name servers.