Cygwin: nslookup/dig command error : “;; communications error: connection reset”

February 15, 2010 · Posted in Cygwin · Comment 

If you receive following error when execute nslookup or dig command:

;; communications error: connection reset

You have one option if it is for “dig” command. There are two options if it is for “nslookup” command.

For “dig” and “nslookup” command, setup /etc/resolv.conf

For  “nslookup”, the another solution is to use “/cygdrive/c/WINDOWS/system32/nslookup.exe” instead of “/bin/nslookup.exe” without creating a resolv.conf entries