Overview
Use this guide to find the IP address associated with a hostname by using the Terminal on a Mac computer.
Procedure
Step 1: Open Launchpad
Locate the Launchpad icon (usually in the taskbar at the bottom of the screen; it looks like a grid of colorful squares) and click it.

Step 2: Open Terminal
In the Launchpad search bar (top center of the screen), type Terminal
. Click the black Terminal icon that appears to open it.

Step 3: Run nslookup
In the Terminal window, type: nslookup [hostname]
Replace [hostname]
with the website or server you want to check (for example, nslookup example.com
). Press Enter.

Step 4: View Results
Terminal will display one or more IP addresses associated with that hostname. Once you see them, you’re done!

Contact Information:
IT Help Desk Contact & Zoom Desk
In Person: Hardman & Jacobs Undergraduate Learning Center - Room 105
Phone: (575) 646-HELP (4357)
Email: help@nmsu.edu

Zoom Link: https://nmsu.zoom.us/my/nmsuithelpdesk
Or meeting ID: nmsuithelpdesk
Zoom with us M-F 8am-5pm