Solved

Dig issues on Windows 7

Posted on 2013-05-25
5
576 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
  • 2
  • 2
5 Comments
 
LVL 29

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 29

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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Resolve DNS query failed errors for Exchange
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

837 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