PDA

View Full Version : FC2 & DNS


wiski
6th July 2004, 02:13 PM
I give up, its time to ask for help! I've been trying to get DNS set up on this FC2 box all day long. I've encountered and solved the rndc problem that everyone seems to have, but I'm stuck on what should be a rather simple problem. I can't get named to find my zone files. I've used the GUI to set up 27 different domains. named starts but in the logs I get a bunch of "zone domain.com/IN: loading master file domain.com.zone: file not found" lines. One for each of the domains I'm hosting.

I've checked the named.conf and named.custom files (which are in /var/named/chroot) as well as /etc/sysconfig/named, but I can't figure it out. Any help would be GREATLY appreciated.

wiski
6th July 2004, 02:25 PM
I found that if I put an include statement in the named.conf to point to named.custom where my directory statement:
"options {
directory "/var/named/";
};

I get a new error message:
dns_master_load: domain.com.zone:2: ns.domain.com: not at top of zone
zone domain.com/IN: loading master file domain.com.zone: not at top of zone

I'm not quite sure what to do about this, and I'd like to fix it, but I don't like the idea of having to re-edit my named.conf file everytime someone edits it via the GUI. (the only reason we will be using it, is so that I don't have to make all DNS changes) Any hints?

ghenry
9th July 2004, 11:32 PM

Have you checked simply things like file and directory permissions?

Walt750
16th August 2004, 09:02 PM
Well.... without looking at each of the directory listings, the only thing I can suggest is to look at your permissions. I have set all files under /var/named to belong to named and group named. This fixed mine... although it's hard to sift through all the doc's out there. I think named is pretty important and I am suprised to see released with this many problems. Keep at it.

-Walter