|
发表于 2003-9-5 21:34:33
|
显示全部楼层
这个key是named和rndc之间加密通讯要用到的密钥,
1. 建一个/etc/rndc.key
内容
- key "rndckey" {
- algorithm hmac-md5;
- secret "asdfwerqwerupbqru1uqwifasdfVoXVCFjtGAupOznFoTtPSZsAubEs";
- };
复制代码
2. 再在/etc/named.conf里加上
include "/etc/rndc.key"
3. pkill -HUP named
就可以了 |
|