Didier Stevens

Thursday 10 September 2020

Quickpost: dig On Windows

Filed under: Quickpost — Didier Stevens @ 12:40

I found out there’s a dig command for Windows.

I group small tools like this inside a bin folder. But dig relies on a set of DLLs, that should also be in the PATH, so I put them in the same bin folder.

These are the DLLs dig.exe needs:

  • libbind9.dll
  • libcrypto-1_1-x64.dll
  • libdns.dll
  • libirs.dll
  • libisc.dll
  • libisccfg.dll
  • libuv.dll
  • libxml2.dll

I used procmon on my Win10 machine to figure out which DLLs are needed, as you get no error message (there’s probably a registry setting for that).

I do have a Windows 7 VM, that I can also use to figure out which DLLs are missing because it displays an error message:

And you might also need to install the Visual C redistribuable that is included with the downloaded ZIP:

And now I can run dig from my bin folder:

Quickpost info


  1. […] Didier StevensQuickpost: dig On Windows […]

    Pingback by Week 37 – 2020 – This Week In 4n6 — Sunday 13 September 2020 @ 13:38

  2. WSL 2 works great and gives you virtually all, if not all, the benefits and abilities of Linux commands on a Windows system.

    Comment by Robert Strom — Tuesday 29 September 2020 @ 6:49

  3. Indeed, that is another solution. I looked at dig.exe, because I have a UMPC with Windows 10, and a very small internal SSD. Installing WSL on that device would take up too much resources.

    Comment by Didier Stevens — Wednesday 30 September 2020 @ 16:03

RSS feed for comments on this post. TrackBack URI

Leave a Reply (comments are moderated)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.