Saturday, September 21, 2013

How to Get Website (IP Address) Info Using Cmd

This Instructable will show you how to find the IP address of of any website you want and find where the IP address originates from.
And using this method instead of pinging the address shows you the fastest connection speed between servers/connections. 


Start the command-line prompt. This is usually done by one of the following methods:
  • Going to Start >> All Programs >> Accessories >> Command Prompt on Windows Vista/7. According to your settings, in older systems (XP, 2000, etc), you might find "Accessories" directly on "Start"

  • Go to Start >> Run and then type cmd in the run dialog and press Enter.


IP Address and Connectivity

  1. 1
    Type the following command to the command-line prompt, replacing google.com with the website you want to get the information for:

    • ping google.com
  2. 2
    Find the IP address of the website (more precisely, the server) on the first line, where it says "Pinging Website_Address_You_Entered [X.X.X.X] with 32 bytes of data:"

  3. 3
    Notice the connectivity between you machine and the server from the line where it says: "Packets: Sent = X, Received = X, Lost = X (X% loss)," where all the Xs will be replaced by numbers. This gives you an idea of how much percent of the packets sent to the server will be lost.


Routing Information

  1. 1
    Type the following command to the command-line prompt, replacing google.com with the website or server you want routing information for:

    • tracert google.com
  2. 2
    Notice the listing of hops along the route path of packets from your machine to the server. This gives you an idea of how many routers/hops the packet has to travel before reaching the server, starting from your machine.

  3. 3
    Use the pathping utility to find information about network latency and network loss at intermediate hops between a source and destination. Type the following to the command-line prompt: pathping google.com.

    • Pathping sends multiple Echo Request messages to each router between a source and destination over a period of time and then computes results based on the packets returned from each router.


DNS information

  1. 1
    Type the following on the command-line prompt, replacing google.com with the website or server you want DNS information for:

    • nslookup google.com
  2. 2
    Find the DNS server (first lines) and the IP addresses of the server you queried about.

     Reference link:www.wikihow.com
    Categories: Networking
    Recent edits by: Marian_Bongato, Milind, BR, Rakesh Shrivastav

1 comment: