[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:23923] rndcを使うには?
-
From:murayama.pochi
-
Date:Sun, 24 Oct 2004 09:28:09 +0900 (JST)
- Subject: [plamo:23923] rndcを使うには?
- From: "murayama.pochi" <maki@xxxxxxxxxxxxxxxxx>
- Date: Sun, 24 Oct 2004 09:28:07 +0900
- Organization: MES
- User-agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.7.2) Gecko/20040808
いろいろ勉強させてもらっている村山です。また教えて君が出てしまいました。
このたびβ2から4.01に移行完了して無事動いています。
で今回rndcを使おうとしたらerrorが出てしまいました
β2では大丈夫だったはず(つもり)なのですが。
行ったのは
bash-3.00# rndc-confgen > /etc/bind/rndc.key
出来た /etc/bind/rndc.key の中の 16から24行目までをコメントを外して
/etc/bind/named.conf
の最初にk張り付け。
この状態で一度マシンをリブートしてから
bash-3.00# rndc reload と叩くと
bash-3.00# rndc reload
rndc: error: /etc/bind/rndc.key:7: unknown option 'options'
rndc: could not load rndc configuration
bash-3.00#
とオプションがわかりませんと怒られます。β2の時と同じことをしたはずなの
ですが何か抜けたのでしょうか
/etc/bind/rndc.key の中身
-------------------ここから-------------------
# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "40JyeUPJNOunB2f3hCbIDA==";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf
# default-key "rndc-key";
# Use with the following in named.conf, adjusting the allow list as needed:
# key "rndc-key" {
# algorithm hmac-md5;
# secret "40JyeUPJNOunB2f3hCbIDA==";
# };
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
-------------------ここまで-------------------
/etc/bind/named.conf の中身の前の方
-------------------ここから-------------------
// Note that the filenames and directory names may differ, the
// ultimate contents of should be quite similar though.
key "rndc-key" {
algorithm hmac-md5;
secret "40JyeUPJNOunB2f3hCbIDA==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
acl "trusted" {
192.168.18.0/24;
localhost;
};
------------------ここまで-------------------
--
福島県郡山市久留米六丁目
http://ja7ewr.km07.or.jp
村山 眞樹 ja7ewr@Plamo4.01
・−−− ・− −−・・・ ・ ・−− ・−・
- Follow-Ups
-
- [plamo:23930] Re: rndcを使うには?, KATOH Yasufumi
[検索ページ]
[メール一覧]
Plamo ML 公開システム