看板FreeBSD
标 题[问题]BIND 9.3.1 设定的问题
发信站SF (Sat Jul 9 02:43:44 2005)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.chu!Leo.mi.chu!SF
小弟目前使用的是 FreeBSD 5.4-RELEASE-p4 内建的
BIND 9.3.1
在设定完成後发现一个状况
就是每次重新开机 named 这个 process 虽然都有跑起来
但是在其他电脑上执行 nslookup 时
C:\Documents and Settings\ziway>nslookup ftp.aerial.twbbs.org
Server: dns.seed.net.tw
Address: 139.175.55.244
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to dns.seed.net.tw timed-out
都会出现这样的讯息
但是只要手动移除 process 再手动重新执行
就又正常了
爬了半天文发现好像是 bind 预设使用 chroot 的问题
又找到几篇
http://www.zytrax.com/books/dns/ch5/#fbsd
http://www.lab.mlc.edu.tw/modules/newbb/
viewtopic.php?viewmode=flat&topic_id=208&forum=3
http://spaces.msn.com/members/tenyi/
可是怎麽设定状况都没有改善
目前 /etc/rc.conf 设定为
named_enable="YES"
named_program="/usr/sbin/named"
named_flags="-u bind"
named_chrootdir="" # disables jail/sandbox
named_chroot_autoupdate="NO" # Automatically install/update chrooted
# components of named. See /etc/rc.d/named.
named_symlink_enable="NO" # Symlink the chrooted pid file
named.conf 为
directory "/etc/namedb";
pid-file "/var/run/named/pid";
dump-file "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";
想请各位大大赐教一下
--
※Origin:星 情 小 筑 < Star.leobbs.net >
※From: 59-105-114-33.adsl.dynamic.seed.net.tw