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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5530 | 13년 전 | 566 | ||
| 5529 | 13년 전 | 745 | ||
| 5528 | 13년 전 | 735 | ||
| 5527 | 13년 전 | 1044 | ||
| 5526 | 13년 전 | 1062 | ||
| 5525 | 13년 전 | 1828 | ||
| 5524 | 13년 전 | 704 | ||
| 5523 |
high8sky
|
13년 전 | 753 | |
| 5522 | 13년 전 | 3146 | ||
| 5521 | 13년 전 | 873 | ||
| 5520 |
즐거운상상을
|
13년 전 | 1133 | |
| 5519 | 13년 전 | 1515 | ||
| 5518 | 13년 전 | 981 | ||
| 5517 | 13년 전 | 1989 | ||
| 5516 | 13년 전 | 702 | ||
| 5515 |
순천홈페이지
|
13년 전 | 2858 | |
| 5514 | 13년 전 | 1185 | ||
| 5513 |
수야3019
|
13년 전 | 1515 | |
| 5512 | 13년 전 | 914 | ||
| 5511 | 13년 전 | 1071 | ||
| 5510 |
|
13년 전 | 1428 | |
| 5509 |
|
13년 전 | 1118 | |
| 5508 | 13년 전 | 1683 | ||
| 5507 | 13년 전 | 1555 | ||
| 5506 | 13년 전 | 725 | ||
| 5505 | 13년 전 | 2796 | ||
| 5504 |
물끄덩미끄덩
|
13년 전 | 960 | |
| 5503 |
후라보노보노
|
13년 전 | 1979 | |
| 5502 | 13년 전 | 874 | ||
| 5501 | 13년 전 | 1955 | ||
| 5500 | 13년 전 | 1823 | ||
| 5499 | 13년 전 | 1821 | ||
| 5498 | 13년 전 | 780 | ||
| 5497 |
레인보우1492
|
13년 전 | 1349 | |
| 5496 | 13년 전 | 1082 | ||
| 5495 |
jdjjun00
|
13년 전 | 2058 | |
| 5494 | 13년 전 | 917 | ||
| 5493 | 13년 전 | 994 | ||
| 5492 | 13년 전 | 1247 | ||
| 5491 | 13년 전 | 1105 | ||
| 5490 | 13년 전 | 896 | ||
| 5489 |
빨간망사챠챠
|
13년 전 | 2292 | |
| 5488 |
나태한개미
|
13년 전 | 1074 | |
| 5487 |
나태한개미
|
13년 전 | 1042 | |
| 5486 |
나태한개미
|
13년 전 | 2128 | |
| 5485 | 13년 전 | 1808 | ||
| 5484 | 13년 전 | 6541 | ||
| 5483 | 13년 전 | 1440 | ||
| 5482 |
Raincommunication
|
13년 전 | 777 | |
| 5481 |
|
13년 전 | 584 | |
| 5480 |
|
13년 전 | 1000 | |
| 5479 | 13년 전 | 1042 | ||
| 5478 |
|
13년 전 | 893 | |
| 5477 | 13년 전 | 679 | ||
| 5476 | 13년 전 | 1121 | ||
| 5475 | 13년 전 | 1440 | ||
| 5474 | 13년 전 | 833 | ||
| 5473 | 13년 전 | 655 | ||
| 5472 | 13년 전 | 1152 | ||
| 5471 | 13년 전 | 1615 | ||
| 5470 | 13년 전 | 963 | ||
| 5469 |
BackToHeaven
|
13년 전 | 2232 | |
| 5468 |
멀티트리플
|
13년 전 | 1113 | |
| 5467 | 13년 전 | 733 | ||
| 5466 | 13년 전 | 1312 | ||
| 5465 | 13년 전 | 1419 | ||
| 5464 | 13년 전 | 1498 | ||
| 5463 | 13년 전 | 700 | ||
| 5462 | 13년 전 | 1428 | ||
| 5461 | 13년 전 | 1073 | ||
| 5460 | 13년 전 | 2574 | ||
| 5459 | 13년 전 | 1069 | ||
| 5458 |
프로프리랜서
|
13년 전 | 960 | |
| 5457 | 13년 전 | 817 | ||
| 5456 |
PHPㅡASP프로그래머
|
13년 전 | 1335 | |
| 5455 |
뭐먹고살지ㅠ
|
13년 전 | 872 | |
| 5454 | 13년 전 | 1618 | ||
| 5453 |
프리랜서클럽
|
13년 전 | 1201 | |
| 5452 | 13년 전 | 841 | ||
| 5451 | 13년 전 | 790 | ||
| 5450 | 13년 전 | 7295 | ||
| 5449 |
PHPㅡASP프로그래머
|
13년 전 | 835 | |
| 5448 |
DBDBDB
|
13년 전 | 676 | |
| 5447 | 13년 전 | 1946 | ||
| 5446 |
헬프데스크
|
13년 전 | 1803 | |
| 5445 | 13년 전 | 971 | ||
| 5444 |
Werbershinta
|
13년 전 | 683 | |
| 5443 | 13년 전 | 1348 | ||
| 5442 | 13년 전 | 1066 | ||
| 5441 | 13년 전 | 1182 | ||
| 5440 | 13년 전 | 3173 | ||
| 5439 | 13년 전 | 841 | ||
| 5438 |
ddokkani
|
13년 전 | 769 | |
| 5437 | 13년 전 | 2635 | ||
| 5436 | 13년 전 | 1027 | ||
| 5435 |
PHPㅡASP프로그래머
|
13년 전 | 847 | |
| 5434 |
돗단배123
|
13년 전 | 1614 | |
| 5433 | 13년 전 | 1773 | ||
| 5432 |
|
13년 전 | 927 | |
| 5431 | 13년 전 | 774 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기