리눅스 분류
rndc-confgen을사용하여
작성자 정보
- 최규민 작성
- 작성일
컨텐츠 정보
- 1,639 조회
- 0 추천
- 목록
본문
rndc-config를 실행하면 다음과 같이 출력되는데 아래 영문으로 써있는 것 처럼
[root@DNS sbin]# ./rndc-confgen
이부분을 /etc/rndc.conf파일을 만들고
# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "5RuxrsQcfOgIKhNhhiHuyQ==";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf
이부분 부터 /etc/named.conf 에 넣어 간단하게 설정하실 수 있습니다.
# Use with the following in named.conf, adjusting the allow list as needed:
key "rndc-key" {
algorithm hmac-md5;
secret "5RuxrsQcfOgIKhNhhiHuyQ==";
};
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.