[Techtalk] Resolving a doman name

Elwing elwing at elwing.org
Thu Jan 20 01:07:23 EST 2005



Carla Schroder wrote:
> On Tuesday 18 January 2005 6:51 pm, Sue Stones wrote:
> 
>>How can I determine the machine address of a domain name.  I want to see 
>>if a domain name is pointed at the right machine.
>>
> 
> 
> Me! Me! I know this one- use the host command:
> 
> $ host bratgrrl.com
> bratgrrl.com has address 69.56.234.130
> 
> ping is good too:
> 
> $ ping bratgrrl.com
> PING bratgrrl.com (69.56.234.130): 56 data bytes
> 64 bytes from 69.56.234.130: icmp_seq=0 ttl=53 time=153.9 ms
> ...
> 

I just want to add that if it's a large installation, try multiple times 
- they may be using round-robin DNS for load balancing (see 
www.yahoo.com and apache.org)

nslookup gives you "all" the addresses:
-bash-2.05b$ nslookup www.yahoo.com
Server:  ender
Address:  192.168.0.1

Non-authoritative answer:
Name:    www.yahoo.akadns.net
Addresses:  68.142.226.54, 68.142.226.33, 68.142.226.36, 68.142.226.38
           68.142.226.45, 68.142.226.46, 68.142.226.47, 68.142.226.48
Aliases:  www.yahoo.com


More information about the Techtalk mailing list