How to do DNS Lookup? There are several online tools available for DNS lookup, such as DNS Stuff, Domain Tools, Open Directory Web Tools, DNS Watch, Into DNS, Network Tools, Security Space WhoIs Gateway, and MX Toolbox.
These tools provide detailed information about a domain name, including its corresponding IP address.

Table of Contents
How to do DNS Lookup in Linux
In Linux, the nslookup
command is utilized to query DNS servers and gather information about domain names and their corresponding IP addresses. Another commonly used command for DNS lookups is dig
.
To perform a DNS lookup, simply open the terminal and type dig domainname.com
. The terminal will then display the domain name associated with the entered IP address.
DNS Lookup Command
The nslookup
command is a valuable network administration tool available on various computer operating systems.
It serves the purpose of querying the Domain Name System (DNS) to obtain domain name or IP address mapping, as well as other DNS records. The command syntax for nslookup
is nslookup [options] domainname.com
.
This command can be used in interactive mode with the default server, interactive mode with a specified server, or to simply look up a host using the default server.
Reverse DNS Lookup
Reverse DNS lookup, also known as rDNS, involves resolving an IP address back to its associated domain name. This process is the opposite of a forward DNS query, which maps a domain name to an IP address.
To perform a reverse DNS lookup, you can use the nslookup
command followed by the IP address in the command prompt.
For instance, entering nslookup 8.8.8.8
will provide you with the DNS name and the IP address you entered. Additionally, online tools like MxToolbox’s Reverse Lookup tool can also be utilized for reverse DNS lookups.
DNS Lookup Online
Online tools for DNS lookup enable users to input a domain name and receive comprehensive DNS and related information for that particular domain.
These tools, such as DNS Stuff, Domain Tools, DNS Watch, Into DNS, Network Tools, and MX Toolbox, can provide details like domain availability, IP addresses, name servers, expiration date, registration/creation date, and domain ownership.
DNS Lookup Command Windows
In Windows, the nslookup
command is available to verify DNS record propagation and resolution using different servers. To utilize this command, open the Command prompt, type nslookup
, and press Enter.
The displayed information will indicate your local DNS server and its corresponding IP address. You can specify the DNS server (IP address), record type, and domain name. For instance, using nslookup -type=ns domain_name
will present the name servers associated with the specified domain.
Reverse DNS Lookup Command Windows
To conduct a reverse DNS lookup in Windows, employ the nslookup
command followed by the IP address. For instance, inputting nslookup 8.8.8.8
will provide the DNS name and IP address you entered. This command proves valuable in diagnosing DNS name resolution issues.
Reverse DNS Lookup Command Linux
In Linux, the dig
command can be utilized for reverse DNS lookup. The command format is dig -x [ip_address]
. The terminal will display the domain name linked to the provided IP address.
Conclusion
DNS lookup and reverse DNS lookup are vital processes in network administration as they facilitate the translation between domain names and IP addresses.
Both Windows and Linux environments offer commands like nslookup
and dig
for performing these lookups. Additionally, online tools provide user-friendly interfaces for executing these tasks.
Understanding these processes and utilizing these tools effectively is crucial for troubleshooting network issues and managing DNS records proficiently.