- æ¥æï¼ 2011/09/18 12:32
- ååï¼ ちゃんと
- 1.不明点・障害内容:
はじめまして。ちゃんとです。 Linux経験がないのですが、課題があり、DNSサーバの立ち上げを行っています。 ひたすらググってやっています。 BINDインストール、ゾーンファイル作成まではできたのですが、 ここでつまずいてから先に進めません。
/etc/init.d/named restart を実行すると
named を停止中: [ OK ] named を起動中: named 設定でエラー: : zone localdomain/IN: loaded serial 42 zone localhost/IN: loaded serial 42 zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700 zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700 zone 255.in-addr.arpa/IN: loaded serial 42 zone 0.in-addr.arpa/IN: loaded serial 42 zone 10.0.14.158.com/IN: loading master file 10.0.148.158.com.zone: file not found localhost_resolver/10.0.14.158.com/IN: file not found [失敗]
となってしまいます。
/etc/named.conf の中は下記のようになっております。
// // 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. // options { listen-on port 53 {10.0.14.158; }; 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";
// Those options should be used carefully because they disable port // randomization // query-source port 53; // query-source-v6 port 53;
allow-query { any; }; allow-query-cache { localhost; }; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; view localhost_resolver { match-clients { any; }; match-destinations { localhost; }; recursion yes; include "/etc/named.rfc1912.zones"; zone "10.0.14.158.com" IN { type master; file "10.0.148.158.com.zone"; allow-update { none; }; }; };
どなたか原因等がわかる方いましたら、教えていただければ幸いです。
どうぞよろしくお願いいたします。
2.ログの有無 :有 (有:その内容) : 3.Distribution :CentOS Version : 4.Service Name : Version : 5.ネットワーク構成:
|