Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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've just upgraded from Debian 5 to 6 and I noticed bind stopped working. When trying to query for a domain from outside I get "connection timed out; no servers could be reached" error. Querying from localhost gives proper response. What could be the cause?

share|improve this question
up vote 7 down vote accepted

Most likely it's listening on localhost only now. In Debian it's probably /etc/bind/named.conf.options that you need to check. See if there's something like:

listen-on port 53 {

Either take the whole listen-on directive out which will mean it will listen on every ip, or else add in each IP Address you want it to listen on. Then just reload bind and you should be good to go.

It's also possibly that there might be an iptables rule stopping inbound connections. Have a look at the output of iptables -L INPUT to be sure.

share|improve this answer
That was it! Thanks, didn't expect something like this happening. – krojew Feb 23 '11 at 21:07

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.