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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6130 |
gender
|
12년 전 | 1099 | |
| 6129 | 12년 전 | 1323 | ||
| 6128 |
|
12년 전 | 3465 | |
| 6127 | 12년 전 | 697 | ||
| 6126 |
|
12년 전 | 2210 | |
| 6125 |
|
12년 전 | 4887 | |
| 6124 | 12년 전 | 663 | ||
| 6123 | 12년 전 | 3846 | ||
| 6122 | 12년 전 | 1018 | ||
| 6121 | 12년 전 | 3756 | ||
| 6120 | 12년 전 | 910 | ||
| 6119 | 12년 전 | 1772 | ||
| 6118 | 12년 전 | 932 | ||
| 6117 | 12년 전 | 2152 | ||
| 6116 | 12년 전 | 7944 | ||
| 6115 | 12년 전 | 1923 | ||
| 6114 |
|
12년 전 | 1708 | |
| 6113 | 12년 전 | 1526 | ||
| 6112 | 12년 전 | 596 | ||
| 6111 | 12년 전 | 2114 | ||
| 6110 | 12년 전 | 1851 | ||
| 6109 | 12년 전 | 644 | ||
| 6108 | 12년 전 | 1201 | ||
| 6107 | 12년 전 | 625 | ||
| 6106 | 12년 전 | 907 | ||
| 6105 | 12년 전 | 1194 | ||
| 6104 | 12년 전 | 3596 | ||
| 6103 | 12년 전 | 2126 | ||
| 6102 | 12년 전 | 2316 | ||
| 6101 | 12년 전 | 3680 | ||
| 6100 | 12년 전 | 3487 | ||
| 6099 | 12년 전 | 3158 | ||
| 6098 | 12년 전 | 4027 | ||
| 6097 | 12년 전 | 1017 | ||
| 6096 | 12년 전 | 5987 | ||
| 6095 | 12년 전 | 1372 | ||
| 6094 | 12년 전 | 1226 | ||
| 6093 | 12년 전 | 3411 | ||
| 6092 | 12년 전 | 3053 | ||
| 6091 | 12년 전 | 5196 | ||
| 6090 | 12년 전 | 2706 | ||
| 6089 | 12년 전 | 3328 | ||
| 6088 | 12년 전 | 1016 | ||
| 6087 | 12년 전 | 849 | ||
| 6086 | 12년 전 | 2020 | ||
| 6085 |
|
12년 전 | 809 | |
| 6084 |
웹디자인되고파
|
12년 전 | 2222 | |
| 6083 | 12년 전 | 1510 | ||
| 6082 | 12년 전 | 1112 | ||
| 6081 | 12년 전 | 2101 | ||
| 6080 |
Stiven
|
12년 전 | 2312 | |
| 6079 |
프로프리랜서
|
12년 전 | 1324 | |
| 6078 |
프로프리랜서
|
12년 전 | 789 | |
| 6077 |
프로프리랜서
|
12년 전 | 1346 | |
| 6076 |
프로프리랜서
|
12년 전 | 834 | |
| 6075 |
프로프리랜서
|
12년 전 | 1224 | |
| 6074 | 12년 전 | 3856 | ||
| 6073 | 12년 전 | 3950 | ||
| 6072 | 12년 전 | 1382 | ||
| 6071 | 12년 전 | 6994 | ||
| 6070 | 12년 전 | 7577 | ||
| 6069 | 12년 전 | 2324 | ||
| 6068 | 12년 전 | 3871 | ||
| 6067 |
smwkd
|
12년 전 | 633 | |
| 6066 | 12년 전 | 3660 | ||
| 6065 | 12년 전 | 3486 | ||
| 6064 | 12년 전 | 2721 | ||
| 6063 | 12년 전 | 2841 | ||
| 6062 | 12년 전 | 2372 | ||
| 6061 | 12년 전 | 2282 | ||
| 6060 | 12년 전 | 5186 | ||
| 6059 | 12년 전 | 2818 | ||
| 6058 | 12년 전 | 3137 | ||
| 6057 | 12년 전 | 2265 | ||
| 6056 | 12년 전 | 6842 | ||
| 6055 | 12년 전 | 2582 | ||
| 6054 | 12년 전 | 3437 | ||
| 6053 | 12년 전 | 2330 | ||
| 6052 | 12년 전 | 4824 | ||
| 6051 | 12년 전 | 3713 | ||
| 6050 | 12년 전 | 2557 | ||
| 6049 | 12년 전 | 2247 | ||
| 6048 |
|
12년 전 | 1301 | |
| 6047 | 12년 전 | 3441 | ||
| 6046 | 12년 전 | 4097 | ||
| 6045 | 12년 전 | 3458 | ||
| 6044 | 12년 전 | 5333 | ||
| 6043 | 12년 전 | 1652 | ||
| 6042 | 12년 전 | 1282 | ||
| 6041 | 12년 전 | 5165 | ||
| 6040 | 12년 전 | 942 | ||
| 6039 | 12년 전 | 3414 | ||
| 6038 | 12년 전 | 3417 | ||
| 6037 | 12년 전 | 2995 | ||
| 6036 | 12년 전 | 3343 | ||
| 6035 | 12년 전 | 2867 | ||
| 6034 | 12년 전 | 2846 | ||
| 6033 | 12년 전 | 2869 | ||
| 6032 | 12년 전 | 2858 | ||
| 6031 | 12년 전 | 2884 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기