Blog
Projects
About
Backtrack:
Blog
›
Make Cygwin's 'dig' work witho…
Email this to a friend
Make Cygwin's 'dig' work without errors
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
...
read more
Send a link to this post to yourself or a friend.
Send to e-mail
:
Your name:
Your e-mail:
Captcha:
Type the letters and numbers as shown.
Not readable?
Get another
.
Information entered is solely used for sending a one-time e-mail, and is not retained and/or passed on to a third party.
Tags
computer
windows
software
vmware
microsoft
exchange
linux
hardware
network
news
mac
home
powershell
office365
msoffice
server
sqlserver
ad
dell
soaring
internet
esx
sbs
rds
events
mssql
terminalserver
powercli
hp
virtualization
Archive
«
‹
March 2024
›
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Links
-
@harkx
-
Cats & Dogs
-
Jargon-free Security Guide
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
Contact
© 2009-2024 Black Manticore – all rights reserved
code by
lunarg
, design by
SuriAmanah
, hosted at Cats&Dogs