Nslookup: ls
Lists information for a DNS domain. The default output contains computer names
and their IP addresses. (When output is directed to a file, hash marks are
printed for every 50 records received from the server.)
ls [option] dnsdomain [> filename] | [>> filename]
Parameters
option
-t querytype
Lists all records of the specified type. (For a description of querytype, see the set querytype topic.)
-a
Lists aliases of computers in the DNS domain. (It is a synonym for -t CNAME.)
-d
Lists all records for the DNS domain. (It is a synonym for -t ANY.)
-h
Lists CPU and operating system information for the DNS domain. (It is a
synonym for -t HINFO.)
-s
Lists well-known services of computers in the DNS domain. (It is a synonym for -t WKS.)
dnsdomain
DNS domain for which you want information.
filename
Specifies a filename in which to save the output. (You can use the > and >>
characters to redirect the output in the usual manner.)