I have been wanting to get the use of dig on Windows 7 for awhile but hadn’t taken the time to do so until now. The problem is nslookup is not as helpful in terms of TTL of zone files, etc. and while you can accomplish your tasks with nslookup using dig makes life much easier on Windows 7 when troubleshooting DNS type issues. The other night I was in the middle of a time critical launch of a new web cluster and needed dig on the Windows 7 laptop I was working on so I decided to get it working while I was waiting for some data to transfer. I actually had slipped on setting the TTL, which was for a single sub domain that was part of the transfer, from a TTL of a entire day (86400 seconds) to a TTL of one hour (3600 seconds). Anyhow below is more information on installing dig on a Windows 7 computer.
Earlier I was testing an issue with scanning to a Brother printer at the computer shop and needed to flush the DNS cache on my Windows 7 laptop after I made an entry on the local DNS server. Flushing the DNS cache on Windows 7 is easy using the command line from a Windows Command Prompt. Follow the directions below to clear the Windows 7 DNS cache.