12.2 Interactive Versus Noninteractive

Team-Fly    

 
DNS on Windows 2000, 2nd Edition
By Matt Larson, Cricket Liu
Table of Contents
Chapter 12.  nslookup

12.2 Interactive Versus Noninteractive

Let's start our tutorial on nslookup by looking at how to start it and how to exit from it. You can run nslookup either interactively or noninteractively. If you want to look up only one piece of data, you should use the noninteractive form. If you plan on doing something more extensive , such as changing servers or options, use an interactive session.

To start an interactive session, just type nslookup :

 C:\>  nslookup  Default Server:  terminator.movie.edu  Address:  192.249.249.3  >  ^Z  

If you need help, type ? or help .

When you want to exit, type ^Z (Ctrl-Z) and press Enter. You can also exit from nslookup with ^C or ^Break (Ctrl-Break). This behavior is different from nslookup 's operation on a Unix host, where if you send nslookup an interrupt, it catches it, stops whatever it is doing (like a zone transfer), and gives you the > prompt. There's no way to just interrupt Microsoft's nslookup : you just have to stop nslookup completely and restart it.

For a noninteractive lookup, include the name you are looking up on the command line:

 C:\>  nslookup carrie  Server:  terminator.movie.edu  Address:  192.249.249.3  Name:    carrie.movie.edu  Address:  192.253.253.4 

Team-Fly    
Top


DNS on Windows 2000
DNS on Windows 2000
ISBN: 0596002300
EAN: 2147483647
Year: 2001
Pages: 154

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net