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;
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> host.10.0.14.158.com axfr ;; global options: printcmd ; Transfer failed.
となってしまいます。
BINDの設定ファイルに関しては、上記のアドレスに変換を加えたもの。
ゾーンファイルは書きになります。 $TTL 86400 @ IN SOA host root ( 2011091842 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS host host IN A 10.0.14.158 www IN A 10.0.14.158