cygwin nslookup/dig problem

Cygwin’s nslookup and dig didn’t work for me. Annoying problem:

;; communications error: connection reset
$ nslookup
;; communications error: connection reset

It turns out the answer is to make an /etc/resolv.conf file. Unfortunately it looks like you have to keep it up to date manually as you change networks – it can’t figure out windows’ nameservers by itself. But such is life. An empty /etc/resolv.conf file doesn’t help.

But at least nslookup now actually works on cygwin.


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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

%d bloggers like this: