LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2004, 08:37 AM   #1
asyadiqin
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
DNS named.conf path


Hi,

I am running FC2 and I am having problem when restarting named.

This is what is stated in the log files :

Quote:
Aug 11 11:58:12 unity named[14937]: starting BIND 9.2.3 -u named -t /var/named/chroot
Aug 11 11:58:12 unity named[14937]: using 1 CPU
Aug 11 11:58:12 unity named[14937]: loading configuration from '/etc/named.conf'
Aug 11 11:58:12 unity named[14937]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 11 11:58:12 unity named[14937]: listening on IPv4 interface eth0, 82.219.9.115#53
Aug 11 11:58:12 unity named[14937]: command channel listening on 127.0.0.1#953
Aug 11 11:58:12 unity named[14937]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Aug 11 11:58:12 unity named[14937]: zone localhost/IN: loaded serial 42
Aug 11 11:58:12 unity named[14937]: zone room-only.net/IN: loading master file /var/named/chroot/var/named/zone/room-only.net.dns: file not found
Aug 11 11:58:12 unity named[14937]: zone hostwebsites.co.uk/IN: loading master file /var/named/chroot/var/named/zone/hostwebsites.co.uk.dns: file not found
Aug 11 11:58:12 unity named[14937]: running
The issue is that both zone files are in that path, but somehow, named simply couldn't locate it.

This is the content of my /var/named/chroot/etc/named.conf

Quote:
options {
directory "/var/named";
};

logging {
category "lame-servers" { null; };
};

controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

include "/etc/rndc.key";

zone "room-only.net" { type master; file "/var/named/chroot/var/named/zone/room-only.net.dns"; };
zone "hostwebsites.co.uk" { type master; file "/var/named/chroot/var/named/zone/hostwebsites.co.uk.dns"; };
Any ideas?
 
Old 08-11-2004, 11:19 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
Quote:
zone "room-only.net" { type master; file "/var/named/chroot/var/named/zone/room-only.net.dns"; };
zone "hostwebsites.co.uk" { type master; file "/var/named/chroot/var/named/zone/hostwebsites.co.uk.dns"; };
It should just be /var/named/zone/... and not /var/named/chroot ....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS: Named.conf don point to zone file Swakoo Linux - General 3 09-27-2005 08:02 PM
DNS named.conf master/slave question pao Linux - Networking 5 11-12-2004 05:50 AM
dns named.conf: "view" unknown option rioguia Linux - Networking 16 11-02-2004 12:04 PM
Update DNS forwarders in named.conf automatically? linuxuser2005 Linux - Networking 3 08-21-2004 04:26 PM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 01:49 PM


All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration