nslookup.exe
The experienced DNS administrator's tool of choice for testing a DNS will always be nslookup. It is not pretty or terribly easy to use. It is, however, extremely well documented because it has been in use for more than a decade. nslookup.exe is a command-line tool that can be used in interactive or noninteractive mode. Listing 10.12 shows nslookup being used in noninteractive mode. The syntax is simple: nslookup <hostname> <servername>.
Code Listing 10.12. nslookup in Noninteractive Mode
O:\>nslookup silver.fis.local 192.168.0.5 Server: gold.fis.local Address: 192.168.0.5 Name: silver.fis.local Address: 192.168.1.4 |
The <servername> is optional. If it is omitted, nslookup simply uses the configured DNS server for that computer. ...
Get Special Edition Using Microsoft Active Directory now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.