How To: Nslookup (Mac OS X)

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. to an IP address (e.g.

To perform an nslookup on a Mac OS X computer, you must open a Terminal window. Terminal can be found by opening the Finder, selection Applications and Utilities. To open a terminal session, double-click on "".

From the Terminal prompt, enter "nslookup" to return the IP address for You may also do an nslookup for a non-UNH address such as Google. The nslookup results will display the actual IP address (or addresses) for the name queried. In addition the nslookup will also return the name server used to make the request. In this example, the name server is This value will vary depending on your location and connection to the network.

Custom Fields
  • Department: Network Operations
Attached Files
There are no attachments for this article.
Related Articles RSS Feed
How-To: Route Print (Mac OS X)
Viewed 206992 times since Fri, Jul 24, 2015
Irregular Traffic Validation Q&A: Proxies and Anonymizers
Viewed 2552 times since Thu, Apr 7, 2016
Wireless in Residence Halls: Be a Good Neighbor
Viewed 3634 times since Fri, Aug 28, 2015
How-To: NSLookup (Windows)
Viewed 6238 times since Fri, Jul 24, 2015
Configuring a Chromecast on the UNH Wireless Network
Viewed 421 times since Tue, Oct 16, 2018
How To: Trace Route (Windows)
Viewed 14853 times since Wed, Jul 8, 2015
How To: Trace Route (MAC OS X)
Viewed 5578 times since Mon, Jul 20, 2015
Network Access For Guests
Viewed 4173 times since Wed, Jul 8, 2015
How-To: Route Print (Windows)
Viewed 83854 times since Fri, Jul 24, 2015
Troubleshooting configuring for UNH-Secure
Viewed 3273 times since Wed, Aug 19, 2015