アプリ版:「スタンプのみでお礼する」機能のリリースについて

http://park1.wakwak.com/~ima/centos4_bind0001.html
こちらのサイトを参考に、内向きDNSを作成しようと試行錯誤しております。
named-chackconf等のチェックツールではエラーが出ないのですが、namedを起動することが出来ません。
/var/log/messageには以下のように出力されています。
> Jun 11 09:43:00 localhost named[3324]: starting BIND 9.3.3rc2 -u named -t /var/named/chroot
> Jun 11 09:43:00 localhost named[3324]: found 2 CPUs, using 2 worker threads
> Jun 11 09:43:00 localhost named[3324]: loading configuration from '/etc/named.conf'
> Jun 11 09:43:00 localhost named[3324]: listening on IPv6 interface lo, ::1#53
> Jun 11 09:43:00 localhost named[3324]: listening on IPv4 interface lo, 127.0.0.1#53
> Jun 11 09:43:00 localhost named[3324]: could not configure root hints from 'named.root': file not found
> Jun 11 09:43:00 localhost named[3324]: loading configuration: file not found
> Jun 11 09:43:00 localhost named[3324]: exiting (due to fatal error)

A 回答 (2件)

named.conf を公開することは可能ですか?



directory "/var/named";
のような設定が無いか、誤っているかもしれません。

この回答への補足

//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
acl "myinternal"{
127.0.0.1; // locaohost
172.16.13.0/28; //local area
};

options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
query-source port 53;
query-source-v6 port 53;
allow-query { any; };
};

logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

view "internal" {
match-clients { myinternal; };
recursion yes;

include "named.rfc1912.zones";
include "named.conf.example";

};

view "exteral"{
match-clients { any; };
recursion no;
allow-query { none; };
allow-transfer { none; };
include "named.rfc1912.zones";
};

include "rndc.key";

以上のようになっております。

補足日時:2008/06/12 16:53
    • good
    • 0

> starting BIND 9.3.3rc2 -u named -t /var/named/chroot


> directory "/var/named";
> include "named.rfc1912.zones";
となっているから、

named.rfc1912.zones に記述されている named.root が必要です。
おそらく
/var/named/chroot/var/named/named.root
のように保存しなければならないはずです。

ディストリビューションがわかれば、より適切な回答を誰かしてくれるかもしれませんよ。(他人任せ)
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!