Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Web Site. V 2.1.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.




Warning: mysqli_connect(): (08004/1040): Too many connections in /Library/WebServer/Documents/Owen2/Inc/Counter.inc.php on line 11

Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Counter.inc.php on line 12
Could not connect to MySQL: