service named start 할 경우 아래와같은 에러가 뜹니다.
error in named configuration:
/etc/named.rfc1912.zones:13: when using 'view' statements, all zones must be in views
파일 설정을 제대로 해주었는데 말이죠..
named.conf :
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { any; };
match-destinations { any; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
------------------------------------
named.rfc1912.zones:
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost.localdomain" IN {
type master;
file "named.localhost";
allow-update { none; };
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};
zone "1.0.0.127.in-addr.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.empty";
allow-update { none; };
};
zone "warn.co.kr" IN {
type master;
file "warn.co.kr.zone";
allow-update { none; };
};
error in named configuration:
/etc/named.rfc1912.zones:13: when using 'view' statements, all zones must be in views
파일 설정을 제대로 해주었는데 말이죠..
named.conf :
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
recursion yes;
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
/* Path to ISC DLV key */
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { any; };
match-destinations { any; };
recursion yes;
include "/etc/named.rfc1912.zones";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
------------------------------------
named.rfc1912.zones:
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost.localdomain" IN {
type master;
file "named.localhost";
allow-update { none; };
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};
zone "1.0.0.127.in-addr.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.empty";
allow-update { none; };
};
zone "warn.co.kr" IN {
type master;
file "warn.co.kr.zone";
allow-update { none; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5830 | 13년 전 | 1185 | ||
| 5829 | 13년 전 | 5048 | ||
| 5828 | 13년 전 | 6430 | ||
| 5827 | 13년 전 | 1199 | ||
| 5826 |
|
13년 전 | 529 | |
| 5825 | 13년 전 | 893 | ||
| 5824 |
|
13년 전 | 1878 | |
| 5823 | 13년 전 | 5615 | ||
| 5822 |
jfascas
|
13년 전 | 1036 | |
| 5821 | 13년 전 | 1696 | ||
| 5820 | 13년 전 | 1311 | ||
| 5819 |
itlang
|
13년 전 | 506 | |
| 5818 | 13년 전 | 1305 | ||
| 5817 | 13년 전 | 778 | ||
| 5816 | 13년 전 | 624 | ||
| 5815 | 13년 전 | 6132 | ||
| 5814 | 13년 전 | 860 | ||
| 5813 |
악마의유혹
|
13년 전 | 460 | |
| 5812 | 13년 전 | 2799 | ||
| 5811 | 13년 전 | 1171 | ||
| 5810 | 13년 전 | 3532 | ||
| 5809 | 13년 전 | 1352 | ||
| 5808 | 13년 전 | 1061 | ||
| 5807 | 13년 전 | 571 | ||
| 5806 | 13년 전 | 559 | ||
| 5805 |
angrysol
|
13년 전 | 816 | |
| 5804 | 13년 전 | 1004 | ||
| 5803 | 13년 전 | 1726 | ||
| 5802 |
angrysol
|
13년 전 | 1048 | |
| 5801 |
후라보노보노
|
13년 전 | 2136 | |
| 5800 | 13년 전 | 1098 | ||
| 5799 |
|
13년 전 | 4189 | |
| 5798 |
|
13년 전 | 3358 | |
| 5797 |
|
13년 전 | 4932 | |
| 5796 | 13년 전 | 7536 | ||
| 5795 | 13년 전 | 2775 | ||
| 5794 | 13년 전 | 2226 | ||
| 5793 |
|
13년 전 | 655 | |
| 5792 | 13년 전 | 2966 | ||
| 5791 | 13년 전 | 840 | ||
| 5790 | 13년 전 | 4328 | ||
| 5789 |
|
13년 전 | 2474 | |
| 5788 |
|
13년 전 | 1848 | |
| 5787 |
오지랖선생
|
13년 전 | 1617 | |
| 5786 | 13년 전 | 5922 | ||
| 5785 | 13년 전 | 1743 | ||
| 5784 |
|
13년 전 | 1446 | |
| 5783 | 13년 전 | 1302 | ||
| 5782 |
|
13년 전 | 2816 | |
| 5781 | 13년 전 | 2852 | ||
| 5780 | 13년 전 | 1155 | ||
| 5779 |
|
13년 전 | 1358 | |
| 5778 |
오리진소프트
|
13년 전 | 4608 | |
| 5777 | 13년 전 | 676 | ||
| 5776 | 13년 전 | 1139 | ||
| 5775 | 13년 전 | 1450 | ||
| 5774 | 13년 전 | 1873 | ||
| 5773 |
|
13년 전 | 1909 | |
| 5772 | 13년 전 | 1672 | ||
| 5771 | 13년 전 | 4780 | ||
| 5770 | 13년 전 | 1125 | ||
| 5769 | 13년 전 | 6105 | ||
| 5768 |
|
13년 전 | 1575 | |
| 5767 | 13년 전 | 1683 | ||
| 5766 |
프로프리랜서
|
13년 전 | 1379 | |
| 5765 |
|
13년 전 | 1035 | |
| 5764 | 13년 전 | 1760 | ||
| 5763 |
|
13년 전 | 778 | |
| 5762 |
|
13년 전 | 2283 | |
| 5761 | 13년 전 | 613 | ||
| 5760 | 13년 전 | 620 | ||
| 5759 | 13년 전 | 3268 | ||
| 5758 | 13년 전 | 1075 | ||
| 5757 |
|
13년 전 | 735 | |
| 5756 | 13년 전 | 561 | ||
| 5755 | 13년 전 | 1057 | ||
| 5754 |
|
13년 전 | 2223 | |
| 5753 | 13년 전 | 670 | ||
| 5752 | 13년 전 | 1542 | ||
| 5751 | 13년 전 | 762 | ||
| 5750 | 13년 전 | 745 | ||
| 5749 | 13년 전 | 2561 | ||
| 5748 | 13년 전 | 998 | ||
| 5747 | 13년 전 | 1212 | ||
| 5746 |
|
13년 전 | 643 | |
| 5745 | 13년 전 | 1656 | ||
| 5744 | 13년 전 | 665 | ||
| 5743 | 13년 전 | 826 | ||
| 5742 |
프로프리랜서
|
13년 전 | 575 | |
| 5741 | 13년 전 | 636 | ||
| 5740 | 13년 전 | 612 | ||
| 5739 | 13년 전 | 719 | ||
| 5738 | 13년 전 | 1918 | ||
| 5737 | 13년 전 | 977 | ||
| 5736 | 13년 전 | 1085 | ||
| 5735 | 13년 전 | 1988 | ||
| 5734 | 13년 전 | 1134 | ||
| 5733 | 13년 전 | 2774 | ||
| 5732 |
JOYCOM
|
13년 전 | 630 | |
| 5731 | 13년 전 | 3298 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기