ネタ元は、http://dnsops.jp/ml.htmlですが、bind-9.8.0-P2(てか、bind9.8.0)にはCNAMEを引かれた場合に
Additionalセクションなどを返さないbugがあるらしいです。(結果、Aレコードが引かれず名前解決が失敗に終わるという)。
https://lists.isc.org/pipermail/bind-users/2011-May/083725.html
本番では、9.7.3系を使うのがよさげです。
2011年6月1日水曜日
2011年5月30日月曜日
bind-9.8.0-P2へのバージョンアップ手順
bind9-8.0-P2へのバージョンアップをしてみた。既存環境はbind9.7.3です。
1.ソースファイルの入手
2.展開
3.コンパイル
configureのオプションは環境にあわせること。バージョンアップ前のオプションを調べるためには
ソースディレクトリのconfig.statusファイルを見るとよい。(named -Vでも確認可能だそうで)
4.既存のbindプロセス(named)を停止
5.シンボリックリンクの差替え
今回の環境は、bindのバージョン別に/usr/localの下にインストールを行っていて、使用するバージョンを/usr/local/bindとしてシンボリックリンクを貼っているので。。。
6.bindプロセス(named)を起動
7.確認
1.ソースファイルの入手
| [root@hoge src]#wget http://ftp.isc.org/isc/bind9/9.8.0-P2/bind-9.8.0-P2.tar.gz |
| [root@hoge src]#tar -zxvf bind-9.8.0-P2.tar.gz |
configureのオプションは環境にあわせること。バージョンアップ前のオプションを調べるためには
ソースディレクトリのconfig.statusファイルを見るとよい。(named -Vでも確認可能だそうで)
| [root@hoge src]#cd bind-9.8.0-P2 [root@hoge bind-9.8.0-P2]#./configure --prefix=/usr/local/bind980P2 --disable-ipv6 --disable-openssl-version-check --enable-threads CFLAGS=-DDIG_SIGCHASE [root@hoge bind-9.8.0-P2]#make [root@hoge bind-9.8.0-P2]#make install |
| [root@hoge local]#/etc/init.d/named stop |
今回の環境は、bindのバージョン別に/usr/localの下にインストールを行っていて、使用するバージョンを/usr/local/bindとしてシンボリックリンクを貼っているので。。。
| [root@hoge local]#pwd /usr/local [root@hoge local]#ls -la 合計 108 drwxr-xr-x 15 root root 4096 5月 30 09:58 . drwxr-xr-x 15 root root 4096 5月 13 04:12 .. drwxr-xr-x 2 root root 4096 5月 11 20:58 bin lrwxrwxrwx 1 root root 18 3月 8 11:42 bind -> /usr/local/bind973 drwxr-xr-x 9 root root 4096 1月 22 02:10 bind972p3 drwxr-xr-x 9 root root 4096 3月 8 11:41 bind973 drwxr-xr-x 9 root root 4096 5月 30 09:58 bind980P2 drwxr-xr-x 2 root root 4096 5月 11 20:58 etc drwxr-xr-x 2 root root 4096 5月 11 20:58 games drwxr-xr-x 2 root root 4096 5月 11 20:58 include drwxr-xr-x 2 root root 4096 5月 11 20:58 lib drwxr-xr-x 2 root root 4096 5月 11 20:58 lib64 drwxr-xr-x 2 root root 4096 5月 11 20:58 libexec drwxr-xr-x 2 root root 4096 5月 11 20:58 sbin drwxr-xr-x 4 root root 4096 5月 11 20:58 share drwxr-xr-x 5 root root 4096 5月 30 09:52 src [root@hoge local]#rm bind rm: remove シンボリックリンク `bind'? y [root@hoge local]#ls -l 合計 92 drwxr-xr-x 2 root root 4096 5月 11 20:58 bin lrwxrwxrwx 1 root root 20 5月 30 10:03 bind -> /usr/local/bind980P2 drwxr-xr-x 9 root root 4096 1月 22 02:10 bind972p3 drwxr-xr-x 9 root root 4096 3月 8 11:41 bind973 drwxr-xr-x 9 root root 4096 5月 30 09:58 bind980P2 drwxr-xr-x 2 root root 4096 5月 11 20:58 etc drwxr-xr-x 2 root root 4096 5月 11 20:58 games drwxr-xr-x 2 root root 4096 5月 11 20:58 include drwxr-xr-x 2 root root 4096 5月 11 20:58 lib drwxr-xr-x 2 root root 4096 5月 11 20:58 lib64 drwxr-xr-x 2 root root 4096 5月 11 20:58 libexec drwxr-xr-x 2 root root 4096 5月 11 20:58 sbin drwxr-xr-x 4 root root 4096 5月 11 20:58 share drwxr-xr-x 5 root root 4096 5月 30 09:52 src |
| [root@hoge local]#/etc/init.d/named start |
| [root@hoge local]#/usr/local/bind/sbin/named -v BIND 9.8.0-P2 |
2011年5月16日月曜日
2011年5月11日水曜日
DNSSECの鍵管理その1
BIND配布元のISCが公開している資料(http://www.isc.org/webinars)を訳してみた。
原本:http://www.isc.org/files/DNSSEC_Key_Management.pdf
原本:http://www.isc.org/files/DNSSEC_Key_Management.pdf
登録:
投稿 (Atom)