Windows Commands: Lookup IP addresses on a NameServer


NSLOOKUP-Windows Command

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
                            (and optionally 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
 
Other Windows 98, Windows XP Commands:
addusers , arp , assoc , associate , at , attrib , browstat , cacls , call , cd , change , chkdsk , chkntfs , choice , cipher , cleanmgr , clip , cmd , color , comp , con2prt , copy , date , defrag , del , delprof , dir , diruse , diskcomp , diskcopy , doskey , dsadd , dsmod , echo , endlocal , exit , expand , expand , fc , fdisk , find , findstr , for , forfiles , format , fsutil , ftp , ftype , global , goto , help , hfnetchk , if , ifmember , ipconfig , kill , label , ldifde , local , logevent , logoff , logtime , mapisend , md , mem , mode , monitor , more , mountvol , move , moveuser , msg , msiexec , msinfo32 , mstsc , munge , mv , nbtstat , net , netdom , netsh , netstat , netsvc , now , nslookup , ntbackup , ntrights , path , pathping , pause , perms , ping , popd , portqry , print , prncnfg , prnmngr , prompt , pushd , qgrep , rasdial , rasphone , rd , rdisk , recover , reg , regedit , regsvr32 , rem , ren , replace , rmtshare , robocopy , route , runas , rundll32 , sc , schtasks , sclist , scriptit , set , setlocal , setx , share , shift , shortcut , showgrps , showmbrs , shutdown , sleep , soon , sort , start , su , subinacl , subst , tasklist , time , timeout , title , touch , tracert , type , ver , verify , vol , where , whoami , windiff , winmsd , winmsdp , wmic , xcacls , xcopy ,
Live2Support.com :
Product - Benefits - Features - How Does it Works - Pricing - SSL Certificates - Signup - Contactus - Login - Submit Resources