Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu 12.04 with BIND9, working just as a caching server (forwarding to

When I use, for example, dig +norecurse, I obtain the following output:

; <<>> DiG 9.8.1-P1 <<>> +norecurse
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

Using Wireshark I discovered that the outgoing queries are correct, but there aren't any incoming answers. Why?

P.S. Using simply dig I obtain the correct answers.

share|improve this question
up vote 0 down vote accepted

This is an issue with how the root name servers respond(or fail, in this case) to queries than with the dig tool itself.

The following queries to a secondary DNS server in Italy will respond appropriately:

  • dig +norecurse

    as will a query to one of Google's DNS servers using this:

  • dig +norecurse @

Off the top of my head, I don't recall how the Primary DNS servers are set up in regards to individual queries. It may be a security, or DDOS avoidance measure, but I would just be guessing at this point. Hope this helps.

Update: See the second comment in response to this question which gives a much better explanation of interpreting a response from the top level name servers using the dig tool.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.