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 am trying to set up a bind server. My named.conf file has the following lines

directory "/var/named";
zone ""{
type master;
file "data/";

My file is at /var/named/data/ - but when I try to start the server, I get the error

zone loading master file data/ file not found
_default/ file not found

I'm not sure what the issue could be. Is my file in the correct place?

share|improve this question
Can you try to specify zone file location like file "/var/named/data/"; – Suku Jan 3 '13 at 19:32
@Suku I tried that, but it didn't work. Good idea though. – Chris Jan 3 '13 at 20:12
up vote 3 down vote accepted

named may be running as a chroot program with lowered privs.....thus the location of /var/named virtually within the chroot environment may be different than the actual location in a non-chrooted environment.

share|improve this answer
I have other issues, but the correct location was /var/named/chroot/var/named/data instead of /var/named/data – Chris Jan 3 '13 at 20:11

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.