Find website IP in Terminial

Quickly find the IP address of any website via Terminial on a Mac using the nslookup command.

Quick and simple.

 

Command:

nslookup www.google.com

Result:

Server:        10.0.1.120
Address:    10.0.1.120#53

Non-authoritative answer:
Name:    www.google.com
Address: 74.125.24.99
Name:    www.google.com
Address: 74.125.24.105
Name:    www.google.com
Address: 74.125.24.147
Name:    www.google.com
Address: 74.125.24.106
Name:    www.google.com
Address: 74.125.24.104
Name:    www.google.com
Address: 74.125.24.103


Author: Anonymous
Added: Thursday, 16 Apr, 2015
Category: Terminal

Code

nslookup www.google.com

Comments