Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 just set up a bind9 dns server on a linux machine in my local network, responsible for the "intern" zone. I have two problem left to be solved, however.

The first one is the output of dig -t a intern, which contains no answer section. This is obviously a simple little mistake in a named.conf.* file, but I am looking right through it and can't seem to find it.

The second one is the lookup of external domains happening very slowly. named.conf has a "hint" to a file of the root servers, as it should. but when doing a lookup (during ping or http request or whatever) this seems to always take a few seconds the first time, as if the dns server is waiting for a time-out, and then asking another dns server. Afterwards the dns server seems to cache the entry and lookups work instantly to that entry.

I don't know if I should mention it but the setup is obvious, router connected to the internet, and one of the PCs connected to the router is the internal dns server.

Should I be putting some kind of forward in the dns server's config file, telling it that the router has the addresses of the ISP's nameservers? I think this is the solution but I'm not sure how to do it.

Thanks guys

share|improve this question

migrated from Nov 27 '10 at 5:18

This question came from our site for computer enthusiasts and power users.

Is dig using your nameserver ? I mean, have you edited your /etc/resolv.conf to use your nameserver ? or try adding @nameserver option to dig. – Casual Coder Nov 26 '10 at 22:03

You put forwarders in options section:

options {
// ...
    forwarders {
        <your ISP DNS server> ;
// ...
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.