從六月開始就陸續有 FreeBSD 6.0 版的消息, 一直到最近如火如荼的開發已經進入了 6.0-BETA4 , 趁著週末, 將 FreeBSD 從 5.3-STABLE 升級到 5.4-STABLE, 每次升級總會有那麼點小驚喜, 這次也不出我所料, 升級之後, Bind 就掛點了
, Bind 從 9.3.0 升級到 9.3.1 看看設定檔 named.conf 找到在新版本中預設會有一段
// If named is being used only as a local resolver, this is a safe default.
// For named to be accessible to the network, comment this option, specify
// the proper IP address, or delete this option.
listen-on { 127.0.0.1;};
預設是開啟的, 若不將其註解掉, 就只能在本機上查詢了 (那還要 Bind 作啥, /etc/hosts 寫一寫就好
), 註解掉 listen-on 或者填入該機器的IP 後重新啟動 named 就正常了。
另一個遇到的問題是, 要下 netstat -nr 這個指令時出現了
netstat: kvm not available
的錯誤訊息,到FreeBSD官方網站的討論才知道 mem 已經被 device 化了, 需要將它加入 kernel的設定檔並且重新編譯與安裝,如:
device mem
另外在 /usr/src/UPDATING 也記載著下面這段
20050513:
Intel Hyper-Threading is now disabled by default due to a
security issue, but can be re-enabled by setting the
machdep.hyperthreading_allowed tunable in /boot/loader.conf.

發表迴響