Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to know how to find IP address and/or a MAC addresses of some popular web sites or servers servers. For example: Google, Hotmail , Yahoo, etc.

share|improve this question
    
Problem is, IP of google/yahoo and the like change regularly and you can't do anything to it. Your DNS server make this transparent for you but if you try to "pin" an IP there is a chance the service will change/not respond anymore a few days/weeks later. –  Shadok May 11 '12 at 14:08

3 Answers 3

up vote 2 down vote accepted

Try e.g.

ping google.com

in a terminal (a command prompt if you are on Windows) to get the resolved IP address printed. This is the easiest way I use in practice, and it is more or less universal.

Otherwise dig or nslookup are more "correct" for the task, but might not be available, and might give more info than you want.


The MAC address is not printed, and I cannot imagine why it would be interesting. You probably only want the IP address.

EDIT: Adding my comment about MAC addresses:

You cannot see MAC addresses for hosts other than on your local network. You can only see the router's MAC address, so if you need the foreign MAC address, then I don't know what you are trying to do.

share|improve this answer
    
yea it work < but mac addresses not show ? –  Ali May 11 '12 at 11:26
    
the doctor ask to find ip and mac addresses O.o –  Ali May 11 '12 at 11:28
    
@Ali: You cannot see MAC addresses for hosts other than on your local network. You can only see the router's MAC address, so if you need the foreign MAC address, then I don't know what you are trying to do. –  Daniel Andersson May 11 '12 at 11:28
    
ok , thank you so much :) –  Ali May 11 '12 at 11:31

Try an online nslookup service like http://www.kloth.net/services/nslookup.php.

For example, enter "maps.google.com" in the "Domain:" box and hit return.

You can only see the MAC address of machines on your local (sub)network, so you're out of luck there (although I can think of some reasons that that would be interesting :) ).

share|improve this answer
    
thank you so much :) –  Ali May 11 '12 at 11:32

To get the IP use nslookup on windows or dig on Linux

You cannot query the MAC address as this is only known to the next switch/router in the companies infrastructure. Also the MAC address is specific to one single network interface whereas from the network-topology side of view behind one IP there can be hundrets of servers due to NAT/Load Balancing.

share|improve this answer
    
thank you so much :) –  Ali May 11 '12 at 11:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.