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: An Interesting Time: Where it will go, who really knows, but it's going to be an interesting time. (posted 2025-12-28 at 19:06:07). Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59
Warning: mysqli_connect(): Error while reading greeting packet. PID=39135 in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 59
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 60
Could not connect to MySQL: