PDA

View Full Version : how to find the ip?


TheSavior
18-06-2006, 00:17
I have teamspeak running on my FreeBSD server, but i need to find out what the ip of the server is. I just know the domain name, and i don't have direct access to the server. I have putty though. Any ideas?

FlashMaster
18-06-2006, 17:20
If you have the domain name of the server, and are situated on the outside of the server LAN, just ping the domain name:

# ping www.domainname.com

This will yield the IP of the server responding to this domain name.

If you are on the local LAN and you can ssh to the local IP of the server, but you want to find the WAN IP, you can type from the server ssh prompt:

# lynx www.whatismyip.com

If you don't have lynx installed, try elinks:

# elinks www.whatismyip.com

www.whatismyip.com is one of many websites designed to feed back your WAN IP.

FlashMaster