ftnk.jp -> ~fumi -> ChangeLog -> 2009-07 -> 2009-07-12

前の日 / 次の日 / 最新 / 2009-07

2009-07 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

2009-07-12 Sun

[別の年の同じ日: 2002 2003 2004 2005 2006 2007 2008 2010

Xen のイメージが壊れた はてぶ

Xen のイメージが壊れてしまったので,
バックアップしていたイメージから復旧.

Unbound 1.3.1 にアップデート [DNS][Unbound][Munin] はてぶ

Unbound 1.3.1 にアップデート

bug fix がメインで新機能は以下の 2 点.

- unbound_munin_ in contrib uses ps to show total memory rss if sbrk hack does not work.
- Added build-unbound-localzone-from-hosts.pl to contrib, from Dennis DeDonatis. It converts /etc/hosts into config statements.

build-unbound-localzone-from-hosts.pl は /etc/hosts から
以下のような設定を生成してくれる perl スクリプト.
server:
 
local-zone: "example.com" transparent
 
local-data-ptr: "127.0.0.1 localhost.localdomain"
local-data: "localhost.localdomain A 127.0.0.1"
local-data: "localhost A 127.0.0.1"
 
local-data-ptr: "::1 localhost6.localdomain6"
local-data: "localhost6.localdomain6 AAAA ::1"
local-data: "localhost6 AAAA ::1"



munin 用 plugin の使い方

Plugin の準備
contrib/unbound_munin_ を /etc/munin/plugins/unbound としてコピー.
さらに以下のように ln しておく.

ln -s unbound unbound_munin_by_class
ln -s unbound unbound_munin_by_flags
ln -s unbound unbound_munin_by_opcode
ln -s unbound unbound_munin_by_rcode
ln -s unbound unbound_munin_by_type
ln -s unbound unbound_munin_histogram
ln -s unbound unbound_munin_hits
ln -s unbound unbound_munin_memory
ln -s unbound unbound_munin_queue

/etc/munin/plugin-conf.d/munin-node に以下を追加.

[unbound*]
user root
env.statefile /var/lib/munin/plugin-state/unbound-state
env.unbound_conf /etc/unbound.conf
env.unbound_control /usr/sbin/unbound-control
env.spoof_warn 1000
env.spoof_crit 100000
で,munin-node を restart.

unbound の準備
まず remote control 用の setup

# unbound-control-setup

/etc/unbound.conf の編集

extended-statistics: yes
control-enable: yes

- 日本Unboundユーザ会 » Unbound 1.3.1リリース
  http://unbound.jp/?p=370