// // named.caching-nameserver.conf // // Provided by Red Hat bind-config 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 // bind-config package upgrade. // 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 localhost_resolver { match-clients { localhost; }; match-destinations { localhost; }; recursion yes; include "/etc/named.rfc1912.zones"; include "/etc/nemed.xxxxx.com.lan; }; view internal { match-clients { localnets; }; match-destinations { localnets; }; recursion yes; include "/etc/named.rfc1912.zones"; include "/etc/named.xxxx.com.lan"; };
view external { match-clients { any; }; match-destinations { any; }; recursion no; include "/etc/named.rfc1912.zones"; include "/etc/named.xxxx.com.wan"; };
named を起動中: named 設定でエラー: : /etc/named.caching-nameserver.conf:36: open: /etc/nemed.xxxx.com.lan: file not found
Re: bind設定 ( No.6 )
????????? 2007/05/07 20:05
????????? 管理者
以下の情報を教えていただけますか?
? # ls /etc/nemed.xxxx.com.lan
? # cat /etc/sysconfig/named | grep ROOTDIR
Re: bind設定 ( No.7 )
????????? 2007/05/07 21:08
????????? まる
>以下の情報を教えていただけますか?
>? ># ls /etc/nemed.xxxx.com.lan
ファイルが見付かりませんです。
>?
# ROOTDIR="/some/where" -- will run named in a chroot environment. # at startup. Don't add -t here, use ROOTDIR instead.# its zone files and create files in its $ROOTDIR/var/named # Slave zones should reside in the $ROOTDIR/var/named/slaves