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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8230 | 9년 전 | 137 | ||
| 8229 | 9년 전 | 123 | ||
| 8228 |
커네드커네드
|
9년 전 | 164 | |
| 8227 | 9년 전 | 210 | ||
| 8226 | 9년 전 | 224 | ||
| 8225 | 9년 전 | 201 | ||
| 8224 | 9년 전 | 206 | ||
| 8223 | 9년 전 | 176 | ||
| 8222 |
|
9년 전 | 248 | |
| 8221 | 9년 전 | 158 | ||
| 8220 | 9년 전 | 189 | ||
| 8219 | 9년 전 | 157 | ||
| 8218 | 9년 전 | 196 | ||
| 8217 |
star3840
|
9년 전 | 165 | |
| 8216 | 9년 전 | 239 | ||
| 8215 | 9년 전 | 182 | ||
| 8214 | 9년 전 | 292 | ||
| 8213 | 9년 전 | 248 | ||
| 8212 | 9년 전 | 158 | ||
| 8211 | 9년 전 | 331 | ||
| 8210 | 9년 전 | 334 | ||
| 8209 | 9년 전 | 404 | ||
| 8208 | 9년 전 | 300 | ||
| 8207 | 9년 전 | 301 | ||
| 8206 |
|
9년 전 | 253 | |
| 8205 | 9년 전 | 235 | ||
| 8204 | 9년 전 | 214 | ||
| 8203 | 9년 전 | 285 | ||
| 8202 | 9년 전 | 203 | ||
| 8201 | 9년 전 | 248 | ||
| 8200 | 9년 전 | 253 | ||
| 8199 | 9년 전 | 265 | ||
| 8198 | 9년 전 | 235 | ||
| 8197 | 9년 전 | 224 | ||
| 8196 | 9년 전 | 634 | ||
| 8195 | 9년 전 | 232 | ||
| 8194 | 9년 전 | 346 | ||
| 8193 | 9년 전 | 243 | ||
| 8192 | 9년 전 | 266 | ||
| 8191 | 9년 전 | 213 | ||
| 8190 | 9년 전 | 210 | ||
| 8189 | 9년 전 | 270 | ||
| 8188 | 9년 전 | 204 | ||
| 8187 | 9년 전 | 208 | ||
| 8186 | 9년 전 | 208 | ||
| 8185 | 9년 전 | 375 | ||
| 8184 | 9년 전 | 164 | ||
| 8183 | 9년 전 | 389 | ||
| 8182 | 9년 전 | 247 | ||
| 8181 | 9년 전 | 195 | ||
| 8180 | 9년 전 | 775 | ||
| 8179 | 9년 전 | 548 | ||
| 8178 | 9년 전 | 403 | ||
| 8177 |
kiplayer
|
9년 전 | 403 | |
| 8176 | 9년 전 | 432 | ||
| 8175 | 9년 전 | 321 | ||
| 8174 | 9년 전 | 316 | ||
| 8173 | 9년 전 | 404 | ||
| 8172 | 9년 전 | 283 | ||
| 8171 | 9년 전 | 244 | ||
| 8170 | 9년 전 | 367 | ||
| 8169 |
커네드커네드
|
9년 전 | 317 | |
| 8168 | 9년 전 | 403 | ||
| 8167 | 9년 전 | 388 | ||
| 8166 | 9년 전 | 292 | ||
| 8165 | 9년 전 | 239 | ||
| 8164 | 9년 전 | 368 | ||
| 8163 | 9년 전 | 365 | ||
| 8162 | 9년 전 | 366 | ||
| 8161 | 9년 전 | 381 | ||
| 8160 |
|
9년 전 | 580 | |
| 8159 | 9년 전 | 524 | ||
| 8158 | 9년 전 | 328 | ||
| 8157 | 9년 전 | 435 | ||
| 8156 | 9년 전 | 323 | ||
| 8155 | 9년 전 | 315 | ||
| 8154 |
00년생용띠
|
9년 전 | 656 | |
| 8153 | 9년 전 | 297 | ||
| 8152 |
|
9년 전 | 480 | |
| 8151 | 9년 전 | 477 | ||
| 8150 | 9년 전 | 582 | ||
| 8149 |
Jangfolk
|
9년 전 | 436 | |
| 8148 | 9년 전 | 252 | ||
| 8147 | 9년 전 | 446 | ||
| 8146 | 9년 전 | 528 | ||
| 8145 | 9년 전 | 477 | ||
| 8144 | 9년 전 | 440 | ||
| 8143 | 9년 전 | 275 | ||
| 8142 | 9년 전 | 489 | ||
| 8141 | 9년 전 | 439 | ||
| 8140 | 9년 전 | 994 | ||
| 8139 | 9년 전 | 345 | ||
| 8138 |
전갈자리남자
|
9년 전 | 451 | |
| 8137 | 9년 전 | 489 | ||
| 8136 | 9년 전 | 812 | ||
| 8135 |
|
9년 전 | 852 | |
| 8134 |
PlayPixel
|
9년 전 | 594 | |
| 8133 |
|
9년 전 | 506 | |
| 8132 | 9년 전 | 540 | ||
| 8131 | 9년 전 | 892 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기