- 论坛徽章:
- 0
|
我运行了这条命令
[root@hyk sbin]# ./rndc-confgen
# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "WWrzOTW/bbKp3+ppLLRH0w==";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf
# Use with the following in named.conf, adjusting the allow list as needed:
# key "rndc-key" {
# algorithm hmac-md5;
# secret "WWrzOTW/bbKp3+ppLLRH0w==";
# };
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
将这部分内容拷到/etc/named.conf中,key "rndc-key" {
# algorithm hmac-md5;
# secret "WWrzOTW/bbKp3+ppLLRH0w==";
# };
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
然后再将前部内容怎么办啊!
请详细的介绍一下吧! |
|