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년 전 | 196 | ||
| 8229 | 9년 전 | 178 | ||
| 8228 |
커네드커네드
|
9년 전 | 215 | |
| 8227 | 9년 전 | 258 | ||
| 8226 | 9년 전 | 278 | ||
| 8225 | 9년 전 | 262 | ||
| 8224 | 9년 전 | 265 | ||
| 8223 | 9년 전 | 244 | ||
| 8222 |
|
9년 전 | 305 | |
| 8221 | 9년 전 | 202 | ||
| 8220 | 9년 전 | 247 | ||
| 8219 | 9년 전 | 221 | ||
| 8218 | 9년 전 | 262 | ||
| 8217 |
star3840
|
9년 전 | 221 | |
| 8216 | 9년 전 | 301 | ||
| 8215 | 9년 전 | 245 | ||
| 8214 | 9년 전 | 349 | ||
| 8213 | 9년 전 | 305 | ||
| 8212 | 9년 전 | 221 | ||
| 8211 | 9년 전 | 389 | ||
| 8210 | 9년 전 | 385 | ||
| 8209 | 9년 전 | 465 | ||
| 8208 | 9년 전 | 346 | ||
| 8207 | 9년 전 | 362 | ||
| 8206 |
|
9년 전 | 309 | |
| 8205 | 9년 전 | 282 | ||
| 8204 | 9년 전 | 271 | ||
| 8203 | 9년 전 | 350 | ||
| 8202 | 9년 전 | 256 | ||
| 8201 | 9년 전 | 302 | ||
| 8200 | 9년 전 | 306 | ||
| 8199 | 9년 전 | 332 | ||
| 8198 | 9년 전 | 297 | ||
| 8197 | 9년 전 | 288 | ||
| 8196 | 9년 전 | 712 | ||
| 8195 | 9년 전 | 296 | ||
| 8194 | 9년 전 | 400 | ||
| 8193 | 9년 전 | 319 | ||
| 8192 | 9년 전 | 320 | ||
| 8191 | 9년 전 | 280 | ||
| 8190 | 9년 전 | 259 | ||
| 8189 | 9년 전 | 324 | ||
| 8188 | 9년 전 | 255 | ||
| 8187 | 9년 전 | 274 | ||
| 8186 | 9년 전 | 274 | ||
| 8185 | 9년 전 | 442 | ||
| 8184 | 9년 전 | 224 | ||
| 8183 | 9년 전 | 428 | ||
| 8182 | 9년 전 | 302 | ||
| 8181 | 9년 전 | 252 | ||
| 8180 | 9년 전 | 827 | ||
| 8179 | 9년 전 | 610 | ||
| 8178 | 9년 전 | 466 | ||
| 8177 |
kiplayer
|
9년 전 | 463 | |
| 8176 | 9년 전 | 500 | ||
| 8175 | 9년 전 | 380 | ||
| 8174 | 9년 전 | 374 | ||
| 8173 | 9년 전 | 461 | ||
| 8172 | 9년 전 | 347 | ||
| 8171 | 9년 전 | 308 | ||
| 8170 | 9년 전 | 422 | ||
| 8169 |
커네드커네드
|
9년 전 | 373 | |
| 8168 | 9년 전 | 461 | ||
| 8167 | 9년 전 | 450 | ||
| 8166 | 9년 전 | 352 | ||
| 8165 | 9년 전 | 287 | ||
| 8164 | 9년 전 | 418 | ||
| 8163 | 9년 전 | 424 | ||
| 8162 | 9년 전 | 409 | ||
| 8161 | 9년 전 | 426 | ||
| 8160 |
|
9년 전 | 643 | |
| 8159 | 9년 전 | 591 | ||
| 8158 | 9년 전 | 385 | ||
| 8157 | 9년 전 | 510 | ||
| 8156 | 9년 전 | 380 | ||
| 8155 | 9년 전 | 392 | ||
| 8154 |
00년생용띠
|
9년 전 | 711 | |
| 8153 | 9년 전 | 355 | ||
| 8152 |
|
9년 전 | 528 | |
| 8151 | 9년 전 | 522 | ||
| 8150 | 9년 전 | 642 | ||
| 8149 |
Jangfolk
|
9년 전 | 500 | |
| 8148 | 9년 전 | 314 | ||
| 8147 | 9년 전 | 497 | ||
| 8146 | 9년 전 | 583 | ||
| 8145 | 9년 전 | 540 | ||
| 8144 | 9년 전 | 507 | ||
| 8143 | 9년 전 | 332 | ||
| 8142 | 9년 전 | 553 | ||
| 8141 | 9년 전 | 492 | ||
| 8140 | 9년 전 | 1064 | ||
| 8139 | 9년 전 | 399 | ||
| 8138 |
전갈자리남자
|
9년 전 | 512 | |
| 8137 | 9년 전 | 552 | ||
| 8136 | 9년 전 | 878 | ||
| 8135 |
|
9년 전 | 925 | |
| 8134 |
PlayPixel
|
9년 전 | 667 | |
| 8133 |
|
9년 전 | 566 | |
| 8132 | 9년 전 | 596 | ||
| 8131 | 9년 전 | 958 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기