Comments
 
posted on September 2nd 2010, at 13:41
by lunarg
In a default Cygwin installation, dig does not work properly out of the box. While resolving works when specifying a DNS server on the command line, a simple dig does not seem to work, and results in an error:

C:\cygwin\etc>dig www.google.be;; communications error: connection reset;; communications error: connection reset

The reason for this is because there are no DNS servers specified in Cygwin. Dig uses the same configuration as DNS would be on a linux system, the configuration file /etc/resolv.conf. By creating this file and adding your DNS servers (e.g. from Windows), dig will be able to resolve without each time manually specifying a DNS server.

Assuming you have installed Cyg  ...
 
 
« April 2021»
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
252627282930
 
Links
 
Quote
« Debating Windows vs. Linux vs. Mac is pointless: they all have their merits and flaws, and it ultimately comes to down to personal preference. »
Me