질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

rndc-confgen을사용하여

작성자 정보

  • 최규민 작성
  • 작성일

컨텐츠 정보

본문

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
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,039 명
  • 현재 강좌수 :  35,849 개
  • 현재 접속자 :  139 명