Installing and Using dig on Windows

dig is one of DNS tool for investigate the DNS sysyem.

How to install :

  1. Create new directory, C:\dig
  2. Download and save into C:\dig
  3. Then extrack
  4. Open system32 folder
    [code]Start >> Run >> types %systemroot%\system32\ >> OK[/code]
  5. Now find msvcr70.dll file. If found, you can delete c:\dig\msvcr70.dll file.
  6. Run cmd
    [code]Start >> Run >> types cmd >> OK[/code]
  7. Go to C:\dig directory
    [code]cd c:\dig[/code]
  8. Then types like below
    [code]sha1 *[/code]
    Enter. Should you see like below
    [code]SHA1 v1.0 [GPLed] by Stephan T. Lavavej,
    6CA70A2B 11026203 EABD7D65 4ADEFE3D 6C933EDA cygwin1.dll
    57487BAE AA0EB284 8557B7CA 54ED9183 EAFC73FA dig.exe
    97DBD755 D67A5829 C138A470 8BE7A4F2 6ED0894C host.exe
    D22E4B89 56E1831F F0F9D076 20EC19BF 171F0C29 libbind9.dll
    81588F0B E7D3C6B3 20EDC314 532D9F2D 0A105594 libdns.dll
    E0BD7187 BBC01003 ABFE7472 E64B68CD 1BDB6BAB libeay32.dll
    F445362E 728A9027 96EC6871 A79C6307 054974E4 libisc.dll
    B3255C0E 4808A703 F95C217A 91FFCD69 40E680C9 libisccfg.dll
    DFBDE4F9 E25FD49A 0846E97F D813D687 6DC94067 liblwres.dll
    61B8F573 DB448AE6 351AE347 5C2E7C48 2D81533C msvcr70.dll
    BDA14B28 7987E168 F359F0C9 DD96866D 04AB189B resolv.conf
    1112343A 319C3EEE E44BF261 AE196C96 289C70E2 sha1.exe
    21D20035 2A5B64E2 69FEA407 4D78053F 3C7A2738 whois.exe[/code]
  9. Then exit from cmd
  10. Open c:\dig\resolv.conf file. To open this file, you could use Notepad++ (freeware) or Editplus (payware) or just using Notepad.
  11. Replace to DNS server IP address from ISP you use.
  12. Then save as into c:\windows\system32\drivers\etc\resolv.conf
  13. Now download doshere.inf file, just right click here and save into c:\dig
  14. Open c:\dig folder, right click on doshere.inf, click Install.
  15. Open Control Panel window, or use this way below
    [code]Start >> Run >> types control >> OK[/code]
  16. Go to Performance and Maintenance, or go to System >> Advance >> Environment Variables
  17. Look at User Variables, if variable PATH found, edit this variable. In Variable value types c:\dig
  18. If not found, click on New button
    Variable name : PATH
    Variable value : c:\dig
  19. Installing done.


How to using :

  1. Run cmd
    [code]Start >> Run >> types cmd >> OK[/code]
  2. Types like below
    You can view all DNS record of, like A record and NS
  3. You can resolve IP address too. If the IP of is try to types like below
    [code]dig -x[/code]
    then the result is that is the IP address of
  4. You can use whois command too. Example you need to know who the owner of Types like below
    You can view all of the information who the owner of yourdomain.come, like name, addess, and many more.


Facebook Fans