(BIND) unknown option 'controls' 에러

yellowstone의 이미지

안녕하세요. dns 공부하고 있는 리눅스 사용자입니다.
제가 요새 dns 공부하면서 고충을 고충을 겪고 있는 것 중에 "/etc/named.conf:76: unknown option 'controls'" 에러 때문에 골머리를 앓고 있습니다. ㅠㅠ

해당 내용은 다음과 같습니다. 해당 내용을 지우면 RNDC를 실행할 수가 없습니다.
controls {
inet 127.0.0.1 port 953 allow { localhost; } keys { rndc-key; };
};
좀더 자세히 말씀 드리자면 rndc reload 명령어 실행하면 다음과 같은 에러가 발생합니다.

rndc: connect failed: 127.0.0.1#953: connection refused

뭐가 문제 인지 알고 싶습니다.
참고로 리눅스 사용하고 있는 운영체제가 CentOS 7.6입니다.
bind 버전은 bind-9.9.4-72.el7.x86_64 입니다.

-----------------------------------------------------------------------
다음내용은 /etc/named.conf 내용입니다.
view "internal" {
match-clients { "internal"; };
recursion yes;

key "example.com" {
algorithm hmac-md5;
secret "SbEpPSNpFYb1tLbLnWcKTA==";
};

key "rndc-key" {
algorithm hmac-md5;
secret "jvED09bQxsqCBh5FWr8FC1zTblxGb3gVKGzX4dYoPq0=";
};

controls {
inet 127.0.0.1 port 953 allow { localhost; } keys { rndc-key; };
};

zone "example.com" IN {
type master;
file "example.zone-internal";
};

};

view "external" {
match-clients { any; };
allow-transfer { slave; };

zone "example.com" IN {
type master;
file "example.zone";
allow-transfer { key example.com; };

};

zone "111.168.192.in-addr.arpa" IN {
type master;
file "111.zone";
allow-transfer { 192.168.111.200; };
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
};

다음은 /etc/rndc.conf 파일입니다.

key "rndc-key" {
algorithm hmac-md5;
secret "jvED09bQxsqCBh5FWr8FC1zTblxGb3gVKGzX4dYoPq0=";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.