Netsh and nslookup concepts

Posted on 2005-02-25
Medium Priority
Last Modified: 2008-02-20
I would like to have some clear explanations about Netsh and nslookup, how they work and when do we need to use them.

Question by:Chuckbuchan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 13407498
Netsh is a utility to allow you to configure a server's network settings for various network services.  See:


Nslookup is a utility that allows you to perform various lookups against a DNS server.


Author Comment

ID: 13407540
I was a minute ago on those links, but they don't have a good explanation, this is why I posted this question.

if you can be patient and explain their concepts clearly would be great.



Accepted Solution

jeopboy earned 1000 total points
ID: 13407649
No problem.

netsh - use it when you want to view or change things on a windows server/PC's networking setup.  So if you want to change the ip address, default gateway, WINS setup, RAS setup, etc. you can use this.  THe biggest advantage of using netsh instead of windows GUI is that you can script the commands.  Otherwise, most everything you can do here, you can also do through the GUI.

nslookup - use it to perform DNS lookups and troubleshoot DNS.  You can go into nslookup and change DNS servers to see if you get different results.  You can also show particular kinds of records for a given domain, etc.  NSlookup is mostly something I use when troubleshooting.  If all I need is the IP address of a single server, i just ping <server> and see if it resolves.  If it doesn't, THEN I go into nslookup.

What are you looking to do?  Maybe that would help me give you more specific advice/info.

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question