Nslookup Tool For Mac

The nslookup (which stands for name server lookup) command is a network utility program used to obtain information about internet servers. Pixel measuring tool. It finds name server information for domains by querying the Domain Name System.

Most computer operating systems include a built-in command line program with the same name. Some network providers also host web-based services of this same utility (like Network-Tools.com). These programs are all designed to perform name server lookups against specified domains.

MAC Address and OUI Lookup. This program displays the name of the company that manufactured your network card. You can also do a reverse lookup and find the MAC addresses registered by a company. NsLookup: Query the DNS for resource records: domain: query type server: query class: port: timeout (ms) no recursion advanced output -- end -- Network-Tools.com. Windows has a command-line tool for performing a DNS query. It is called “nslookup.” To perform a DNS query on a Windows computer (this is universal on all recent Windows versions) open a command prompt.

How to Use nslookup in Windows

To use the Windows version of nslookup, open Command Prompt and type nslookup to get a result similar to this one but with entries for the DNS server and IP address that your computer is using:

Nslookup Mac Terminal

This command identifies which DNS server the computer is currently configured to use for its DNS lookups. As the example shows, this computer is using an OpenDNS DNS server.

Take note of the small > at the bottom of the command's output. nslookup remains running in the background after the command is issued. The prompt at the end of the output lets you enter additional parameters. When you execute nslookup without specifying a domain name, the program enters interactive mode.

Performing Traceroute on Mac and Windows. Aleksandar Matic. August 8, 2015. November 3, 2015. Type tracert command and the network address/domain for which you want run this diagnostic tool. How to Perform a Traceroute on Windows 7. From the Start menu, search for Command or cmd. Mac OS X has a command-line utility for performing an nslookup called 'nslookup'. An nslookup is a network utility used to resolve a name (e.g. Www.unh.edu) to an IP address (e.g. To perform an nslookup on a Mac OS X computer, you must open a Terminal window.

Either type the domain name you want the nslookup details for or quit nslookup with the exit command (or the Ctrl+C keyboard shortcut). You could instead use nslookup by typing the command before the domain, all on the same line:

Here's an example output:

Nameserver Lookup

In DNS, so-called 'non-authoritative answers' refer to DNS records kept on external DNS servers, which they obtained from the 'authoritative' servers that provide the original source of the data.

Here's how to get that information (assuming you've already typed nslookup into Command Prompt):

An authoritative address lookup can be performed by specifying one of the domain's registered nameservers. Nslookup then uses that server instead of the default DNS server information of the local system.

The output no longer mentions 'non-authoritative' data because the nameserver ns1.p30.dynect is a primary nameserver for Lifewire.com, as listed in the 'NS record' portion of its DNS entries.

Mail Server Lookup

To search for mail server information on a particular domain, nslookup uses the MX record feature of DNS. Some sites, like Lifewire.com, support both primary and backup servers.

Screenshot Tool For Mac

Mail server queries for Lifewire.com work like this:

Other nslookup Queries

Nslookup supports querying against other less commonly used DNS records including CNAME, PTR, and SOA. Typing a question mark at the prompt prints the program's help instructions.

Some web-based variations of the utility offer a few additional features beyond the standard parameters found within the Windows tool.

Snippet Tool For Mac

How to Use Online Nslookup Tools

Online nslookup utilities, like the one from Network-Tools.com, lets you customize a lot more than what's allowed with the command from Windows.

For example, after choosing the domain, server, and port, you can pick from a drop-down list of query types like address, nameserver, canonical name, start of authority, mailbox domain, mail group member, well-known services, mail exchange, ISDN address, NSAP address, and many others.

You can also pick the query class; internet, CHAOS or Hesiod.