How to install and use the dig utility on a Windows system
The dig (domain information groper) utility is something I use on my Linux hosts so often that I miss it when I move back to a Windows host. Here’s how to install and use the dig utility on a Windows system:
- Download the BIND package from the Internet Systems Consortium web site for your Windows
- Extract to the directory that you’d like to run the program from, probably C:UsersMyUsername
- Run the dig command
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:Userstechpain>dig mx msn.com ; <<>> DiG 9.9.5-W1 <<>> mx msn.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<
Dan Esparza’s blog has a great post on different ways to use the dig utility and understanding the output.
Also, check out how to run the WhoIs utility from Windows command line.