A few days back, my Internet connection was giving me a lot of problems. For some reason it wasn’t opening this site, when it was able to open all the rest of the sites of the world :S. Then I came accross this site WhatIsMyIP. On this site I found some command lines to re-register my DNS connections. I used them and to my surprise, everything started working back :). I was able to access my blog.  Below are the command lines I found from there. I hope they’ll be useful to you guys.

To open Command Prompt, click the “Start” button and then go to “All Programs”. Finally go to Accessories in the top, and click “Command Prompt”. This will open Command Prompt where you can use the commands given below.

Display Connection Configuration: ipconfig /all

Display DNS Cache Info Configuration: ipconfig /displaydns

Clear DNS Cache: ipconfig /flushdns

Release All IP Address Connections: ipconfig /release

Renew All IP Address Connections: ipconfig /renew

Re-Register the DNS connections: ipconfig /registerdns

Display DCHP Class Information: ipconfig /showclassid

Change/Modify DHCP Class ID: ipconfig /setclassid

Network Connections: control netconnections

Network Setup Wizard: netsetup.cpl

Test Connectivity: ping www.whatismyip.com

Trace IP address Route: tracert

Displays the TCP/IP protocol sessions: netstat

Display Local Route: route

Display Resolved MAC Addresses: arp

Display Name of Computer Currently on: hostname

Another site that I use to check my IP address - IP Chicken.

Was this useful to you? Do leave a comment and let me know.