O'Reilly logo

Special Edition Using Microsoft Active Directory by James Hudson, Sean Fullerton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required