Oct 5, 2007

DNS TCP/IP commands from command prompt

IP address, Subnet Mask, Default Gateway, DNS and WINS addresses
What do you use to configure these things? There are various applications or utilities also available to configure TCP/IP settings and many other options.
But you can also achieve all this through command prompt! Isn't it fantastic? Many of you might be familiar with ping, tracert and ipconfig commands available in windows xp. Let us see which other commands you can use from command prompt.
With the help of these commands you can view or modify the network configuration settings of a computer that is currently running.
    To get the command prompt...
    Press 'WinKey + R' type CMD [ENTER]
  • ping webgk.com - Test Connectivity
  • tracert - Trace IP address Route
  • netstat - Displays the TCP/IP protocol sessions
  • route - Display Local Route
  • arp - Display Resolved MAC Addresses
  • hostname - Display Computer Name
  • netsetup.cpl - Network Setup Wizard
  • control netconnections - Network Connections
  • ipconfig /all - Connection Configuration
  • ipconfig /displaydns - Display DNS Cache Info
  • ipconfig /flushdns - Clear DNS Cache
  • ipconfig /release - Release All IP Address Connections
  • ipconfig /renew - Renew All IP Address Connections
  • ipconfig /registerdns - ReRegister the DNS connections
  • ipconfig /showclassid - Display DHCP Class Information
  • ipconfig /setclassid - Change/Modify DHCP Class ID

Knowledge of DNS, gateway and subnet mask is helpful while resolving network issues. The following questions provides you a short description of...

What is DNS?
Domain Name Service (DNS) numbers are IP addresses that a web server uses to refer to specific servers that resolve domain names to IP addresses.

What is a GateWay?
A gateway IP refers to a device on a network which sends local network traffic to other networks. In the technical language it is a hardware device or software application set up that translates between two dissimilar protocols.

What is Subnet Mask?
The subnet mask number helps to identify the relationship between the host (computers, routers, switches, etc.) and the rest of the workgroup or network. For the purpose of security and performance a subnet mask divides IP networks into two different parts.

3 comments:

Wordpress Blog Hosting said...

Great, Neat and Clean article from one of the niche blog.

Thanks for sharing your wisdom.

Anonymous said...

this is very helpful.. thanks thanks thanks.. :)

Anonymous said...

The best!