I used Cygwin a lot and I love it. But Last time I did a search in the Cygwin setup for “dig” I get nothing.
Well it turns out DIG is in in there somewhere
I had to install bind and openssl
First I searched for bind. And I chose to install the bind package.
Next I searched for openssl and chose to install the openssl package.
Then I clicked next a few times and installed these packages. Then opened a Cygwin terminal and typed this.
> which dig
As a test I ran
> dig www.google.com +short
Looks like it’s working just fine. This one drove me nuts for a long time.