Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.1. Mac Tip.You are here: tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Lookup IP Address for a Domain Name

To lookup the IP number for a domain name, use dig (domain internet grapher).

For full DNS infromation for the site, use:
dig DOMAIN
Where DOMAIN is the domain you want to look up.

To return just the IP address, use:
dig +short DOMAIN
Example: dig +short ojb.nz, gives 121.99.240.66

Alternatively, use:
dscacheutil -q host -a name DOMAIN
Where DOMAIN is the domain you want to look up.
Note: This might give a different result, depending on cacheing.



I usually write a blog post about once a week. The latest post can be viewed here: Sheeple: Are they succumbing to fake news, misinformation, and propaganda. (posted 2025-09-24 at 17:12:31). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2025-08-07 What is Anything?: Use language in an honest way to communicate instead of obfuscating..
 Site ©2025 by OJBOJB's BlogWhy Macs are BestMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 735,536,221
Description: Mac TipKeywords: Macintosh,Computers,Fixing Problems,TipsLoad Timer: 24ms