How To: Nslookup (Mac OS X)

Tags nslookup

Summary

This article provides instructions to perform an nslookup on a Mac OS X computer.

 

How-To

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. 132.177.132.99).

 

Task: To perform an nslookup on a Mac OS X computer.

 

Instructions

Step 1 - Open a Terminal window. Terminal can be found by opening the Finder, select Applications and Utilities. To open a terminal session, double-click on "Terminal.app".

 

Step 2 - From the Terminal prompt, enter "nslookup www.unh.edu" to return the IP address for www.unh.edu. 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 10.20.248.13. This value will vary depending on your location and connection to the network.

 

Outcome

You have performed an nslookup on your Mac OS X computer.

 

Further Readings

How To: Trace Route (Windows)

How To: Trace Route (MAC OS X)

How-To: NSLookup (Windows)

 

Need additional help?

Visit the ET&S Help Desk Support page to locate your local campus contact information or to submit an online technology support request.  For password issues you must call or visit the Help Desk in person.  

Print Article

Details

Article ID: 775
Created
Fri 7/19/19 5:36 PM
Modified
Wed 10/19/22 3:57 PM