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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6430 | 12년 전 | 966 | ||
| 6429 | 12년 전 | 9098 | ||
| 6428 | 12년 전 | 593 | ||
| 6427 |
제이티37
|
12년 전 | 1564 | |
| 6426 |
프로프리랜서
|
12년 전 | 1149 | |
| 6425 |
프로프리랜서
|
12년 전 | 1604 | |
| 6424 |
프로프리랜서
|
12년 전 | 1806 | |
| 6423 | 12년 전 | 997 | ||
| 6422 |
퍼블리셔지노군
|
12년 전 | 1569 | |
| 6421 | 12년 전 | 2205 | ||
| 6420 |
|
12년 전 | 1334 | |
| 6419 |
|
12년 전 | 1284 | |
| 6418 | 12년 전 | 1180 | ||
| 6417 |
senseme
|
12년 전 | 7417 | |
| 6416 |
senseme
|
12년 전 | 1324 | |
| 6415 |
senseme
|
12년 전 | 1188 | |
| 6414 |
senseme
|
12년 전 | 1961 | |
| 6413 |
senseme
|
12년 전 | 963 | |
| 6412 |
senseme
|
12년 전 | 1485 | |
| 6411 |
senseme
|
12년 전 | 1088 | |
| 6410 |
senseme
|
12년 전 | 1043 | |
| 6409 |
PASKRAN
|
12년 전 | 2813 | |
| 6408 | 12년 전 | 10796 | ||
| 6407 | 12년 전 | 2989 | ||
| 6406 |
프로프리랜서
|
12년 전 | 2824 | |
| 6405 |
프로프리랜서
|
12년 전 | 1369 | |
| 6404 |
프로프리랜서
|
12년 전 | 2722 | |
| 6403 |
프로프리랜서
|
12년 전 | 816 | |
| 6402 |
프로프리랜서
|
12년 전 | 1724 | |
| 6401 |
프로프리랜서
|
12년 전 | 1139 | |
| 6400 |
프로프리랜서
|
12년 전 | 1461 | |
| 6399 |
프로프리랜서
|
12년 전 | 1179 | |
| 6398 |
프로프리랜서
|
12년 전 | 1479 | |
| 6397 |
프로프리랜서
|
12년 전 | 3598 | |
| 6396 | 12년 전 | 1866 | ||
| 6395 | 12년 전 | 917 | ||
| 6394 |
|
12년 전 | 5236 | |
| 6393 |
제이티37
|
12년 전 | 1198 | |
| 6392 |
songsinica
|
12년 전 | 1196 | |
| 6391 |
|
12년 전 | 3371 | |
| 6390 |
|
12년 전 | 1620 | |
| 6389 | 12년 전 | 4854 | ||
| 6388 |
스누피사랑
|
12년 전 | 5430 | |
| 6387 | 12년 전 | 1838 | ||
| 6386 | 12년 전 | 3055 | ||
| 6385 |
희망과열정
|
12년 전 | 923 | |
| 6384 | 12년 전 | 3286 | ||
| 6383 | 12년 전 | 10594 | ||
| 6382 |
|
12년 전 | 5788 | |
| 6381 |
SugarSkull
|
12년 전 | 1029 | |
| 6380 | 12년 전 | 776 | ||
| 6379 |
|
12년 전 | 1979 | |
| 6378 | 12년 전 | 1557 | ||
| 6377 | 12년 전 | 490 | ||
| 6376 |
후라보노보노
|
12년 전 | 1329 | |
| 6375 | 12년 전 | 2863 | ||
| 6374 | 12년 전 | 828 | ||
| 6373 | 12년 전 | 2367 | ||
| 6372 |
takumi22
|
12년 전 | 1237 | |
| 6371 |
개초보제이
|
12년 전 | 770 | |
| 6370 |
고급자가되고
|
12년 전 | 1455 | |
| 6369 | 12년 전 | 875 | ||
| 6368 | 12년 전 | 3175 | ||
| 6367 | 12년 전 | 1872 | ||
| 6366 | 12년 전 | 2872 | ||
| 6365 |
lilyosia
|
12년 전 | 1790 | |
| 6364 | 12년 전 | 1053 | ||
| 6363 | 12년 전 | 1586 | ||
| 6362 | 12년 전 | 2731 | ||
| 6361 | 12년 전 | 2553 | ||
| 6360 | 12년 전 | 1000 | ||
| 6359 | 12년 전 | 2102 | ||
| 6358 |
|
12년 전 | 1785 | |
| 6357 |
에헤라디야자진방아를돌려라
|
12년 전 | 775 | |
| 6356 | 12년 전 | 2076 | ||
| 6355 | 12년 전 | 3783 | ||
| 6354 | 12년 전 | 3095 | ||
| 6353 | 12년 전 | 1546 | ||
| 6352 | 12년 전 | 7768 | ||
| 6351 | 12년 전 | 2536 | ||
| 6350 | 12년 전 | 2795 | ||
| 6349 | 12년 전 | 1875 | ||
| 6348 | 12년 전 | 3544 | ||
| 6347 | 12년 전 | 1445 | ||
| 6346 | 12년 전 | 1182 | ||
| 6345 | 12년 전 | 1834 | ||
| 6344 | 12년 전 | 1406 | ||
| 6343 |
프로프리랜서
|
12년 전 | 2058 | |
| 6342 |
프로프리랜서
|
12년 전 | 1373 | |
| 6341 |
프로프리랜서
|
12년 전 | 1811 | |
| 6340 |
프로프리랜서
|
12년 전 | 1892 | |
| 6339 |
프로프리랜서
|
12년 전 | 1336 | |
| 6338 |
프로프리랜서
|
12년 전 | 1575 | |
| 6337 | 12년 전 | 5260 | ||
| 6336 |
프로프리랜서
|
12년 전 | 1627 | |
| 6335 |
프로프리랜서
|
12년 전 | 950 | |
| 6334 |
프로프리랜서
|
12년 전 | 1325 | |
| 6333 |
프로프리랜서
|
12년 전 | 2438 | |
| 6332 | 12년 전 | 1097 | ||
| 6331 |
돗단배123
|
12년 전 | 1419 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기