dig (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. Most DNS administrators use dig
to troubleshoot DNS problems because of its flexibility, ease of use and clarity of output. Other lookup tools tend to have less functionality than dig.
Dig has a huge list of options and itself will make a large howto. Which I will go through on a later date. For the sake of sanity I will just give you demonstration of the main intention of dig. There is however quite a large list of custom options.
Backtrack 2 Hacking Hacking Tools News Software Review