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.
See 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
|
Success!
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.
Do not forget to set up /etc/resolv.conf:
ReplyDeleteStart Cygwin Terminal as Administrator
Find out your local DNS-Server by typing: ipconfig /all | grep -i dns-server
Type: nano /etc/resolv.conf
or which editor your are using in general (instead of nano)
Add the line:
nameserver [yourDnsServerAddress]
e.g.: nameserver 192.168.100.1
Save and exit
Thank you!!!! :)
ReplyDeleteYes, thanks!!!
ReplyDeleteThank you, friend from the past.
ReplyDeleteYou do not need to install OpenSSL, just "bind", "bind-debuginfo", "bind-docs", and "bind-utils". My guess is it is in "bind-utils"
ReplyDeleteI only installed those, and I did NOT install OpenSSL, and dig works just fine for me
I installed only "bind-utils" as the previous comment suggested and dig works.
ReplyDeleteTHANKS!I installed openssl but witch dig not work, and it working after install bind-util
Delete