The NSLookup Utility
The NSLookup utility is used to view information such as resource records held by Domain Name System (
DNS) servers. It can be run from a single command line using switches or interactively from a NSLookup command prompt.NSLookup ? or help – returns a list of NSLookup commands
NSLookup server – specifies which server to query
NSLookup ls – lists the names in a domain
NSLookup ls –a – lists the Canonical names (
CNAME) and their aliases in a domainNSLookup ls –d – lists all the resource records
NSLookup set all – displays the current value of all settings
You can use NSLookup to view the contents of any DNS server for which the Internet Protocol (IP) address or domain name is known. Subject to firewalls of course.