Solved

Dig issues on Windows 7

Posted on 2013-05-25
5
593 Views
Last Modified: 2013-05-26
Hi i always get the following output, is there anything that i need to correct,

Please help me on below.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\mrarshmohd>cd c:\dig

c:\dig>
c:\dig>
c:\dig>
c:\dig>
c:\dig>
c:\dig>dig www.google.com

; <<>> DiG 9.3.2 <<>> www.google.com
;; global options:  printcmd
;; connection timed out; no servers could be reached

c:\dig>
0
Comment
Question by:xyz abc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 30

Expert Comment

by:Randy Downs
ID: 39196786
Maybe this will help

http://serverfault.com/questions/484217/cant-ping-or-reach-external-ip-or-domain-on-centos-6-3

If you want to confirm that this is a DNS resolve problem rather than a routing problem, try doing this instead:

ryo-ohki:~ jenny$ dig ns.google.com @8.8.8.8
If you still get "connection timed out", then you do have a routing problem
0
 

Author Comment

by:xyz abc
ID: 39197489
I am not using CentOS its a windows 7 device, i have installed dig for windows but that doesnot work. And Also i receive the following .. with the above and i dont have routing issue at all.

My internet is accessible for your information..

Below is the output..

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\arshmohd>cd c:\dig


c:\dig>dig ns.google.com @8.8.8.8

; <<>> DiG 9.3.2 <<>> ns.google.com @8.8.8.8
; (1 server found)
;; global options:  printcmd
;; connection timed out; no servers could be reached

c:\dig>
0
 
LVL 30

Accepted Solution

by:
Randy Downs earned 500 total points
ID: 39197708
Maybe this ?

http://serverfault.com/questions/315026/dig-connection-times-out-dns

Did you copy resolv.conf from your dig directory to your %systemroot%\system32\drivers\etc directory? If not, that's your problem
0
 
LVL 38

Expert Comment

by:ChiefIT
ID: 39198001
Dig is probably blocked by firewall on the host computer.
0
 

Author Closing Comment

by:xyz abc
ID: 39198072
Thanks much.... It worked like champ
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question