| 
       | 
    
       | 
    
NSLOOKUP (TCP/IP)
 Lookup IP addresses on a NameServer.
SYNTAX
Lookup the ip address of MyHost:
   NSLOOKUP [-option] MyHost
     
Lookup ip address of MyHost on MyNameServer:
   
   NSLOOKUP [-option] MyHost MyNameServer
   
Enter "command mode":
   
   NSLOOKUP
Command Mode options:
 help or ?          - print a list of Command Mode options
 exit or ^C         - exit "command mode" 
 set all            - print options, current server and host
 finger [USER]      - finger the optional NAME at the current default host
 MyHost             - print ip address of MyHost
 MyHost MyNameServer - print ip address of MyHost on MyNameServer
 set [no]debug      - print debugging info
 set [no]d2         - print exhaustive debugging info
 set domain=NAME    - set default domain name to NAME
 set root=NAME      - set root server to NAME
 root               - set current default server to the root
 server NAME        - set default server to NAME, using current default server
 lserver NAME       - set default server to NAME, using initial server
 set srchlist=N1[/N2/.../N6] - set domain to N1 and search list to N1, N2,...
 set retry=X        - set number of retries to X
 set timeout=X      - set initial time-out interval to X seconds
 set [no]defname    - append domain name to each query
 set [no]recurse    - ask for recursive answer to query
 set [no]search     - use domain search list
 set [no]vc         - always use a virtual circuit
 set class=X        - set query class (for example, IN (Internet), ANY)
 set [no]msxfr      - use MS fast zone transfer
 set ixfrver=X      - current version to use in IXFR transfer request
 set type=X         - set query type 
 set querytype=X    - set query type
                      (e.g. A, ANY, CNAME, MX, NS, PTR, SOA, SRV)
 ls [opt] DOMAIN [> FILE] - list addresses in DOMAIN (optional: output to 
                  FILE)
    -d          -  list all records
    -t TYPE     -  list records of the given Type (for example, A, CNAME, 
                   MX, NS, PTR, and so on)
    -a          -  list Aliases and canonical names.
 view FILE       - sort an 'ls' output file and view it with pg
 
 Related Commands:
  
  NBTSTAT - Display networking statistics (NetBIOS 
  over TCP/IP) 
  NETSTAT - Display networking statistics (TCP/IP)
  TRACERT - Trace route to a remote host 
  
  Q200525 - Using nslookup
  network-tools.com - nslookup
  
  Equivalent Linux BASH commands: