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

named restart시 err.

작성자 정보

  • 최규민 작성
  • 작성일

컨텐츠 정보

본문

bind 8에서는 ndc  bind9에서는 rndc를 가지고 named 데몬에 kill -HUP 등을 대신한는데

bind 9부터는 named.conf 에 rndc를 쓸수 있게 키값을 설정 하셔야 합니다.

rndc-confgen를 가지고 간단히 생성하여 설정하여 쓰시면 됩니다.

 

예제

/etc/rndc.conf에 들어갈 내용  

#  Start of rndc.conf

key "rndc-key" {
        algorithm hmac-md5;
        secret "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
};

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 "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
# };
#
# controls {
#       inet 127.0.0.1 port 953
#               allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf

관련자료

댓글 1

초보입니다(급급)님의 댓글

  • 초보입니다(급급)
  • 작성일
rndc-confgen를 가지고 간단히 생성하여 설정.하는방법좀 부탁드려요..감사.

공지사항


뉴스광장


  • 현재 회원수 :  60,128 명
  • 현재 강좌수 :  36,153 개
  • 현재 접속자 :  340 명