Nslookup Command (2026)
: Best for single queries. You type the command followed by the domain name to get an immediate result.
If you have an IP address and want to find the hostname it belongs to, use the IP address as the argument. nslookup 93.184.216.34 Use code with caution. 3. Querying Specific DNS Records 10 most used Nslookup commands - ClouDNS Blog nslookup command
At its core, nslookup sends a request to a DNS server asking for specific information from its records. In response, the server returns the IP address or relevant domain information for a specific website. It can also perform "reverse lookups" to find the domain associated with a particular IP address. The tool operates in two distinct modes: : Best for single queries
The (name server lookup) command is a versatile command-line utility used for querying the Domain Name System (DNS) to obtain domain name or IP address mapping, or any other specific DNS record. Whether you are a network administrator troubleshooting connectivity issues or a developer verifying a website’s record propagation, nslookup is a staple tool available across Windows, macOS, and Linux . How the nslookup Command Works nslookup 93
: Useful for multiple queries in one session. You enter the mode by typing nslookup without any arguments, allowing you to use subcommands like set to change query types or servers. Key Commands and Examples 1. Basic Domain Lookup
: Displays the default DNS server being used and the "A Record" (IP address) of the domain. 2. Reverse DNS Lookup
To find the IP address of a domain, simply enter the domain name after the command. nslookup example.com Use code with caution.