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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6730 |
|
11년 전 | 1110 | |
| 6729 | 11년 전 | 566 | ||
| 6728 |
|
11년 전 | 582 | |
| 6727 | 11년 전 | 2425 | ||
| 6726 | 11년 전 | 600 | ||
| 6725 |
네모웹에이전시
|
11년 전 | 446 | |
| 6724 |
네모웹에이전시
|
11년 전 | 890 | |
| 6723 | 11년 전 | 1024 | ||
| 6722 | 11년 전 | 966 | ||
| 6721 | 11년 전 | 652 | ||
| 6720 | 11년 전 | 1977 | ||
| 6719 | 11년 전 | 2199 | ||
| 6718 | 11년 전 | 1109 | ||
| 6717 |
|
11년 전 | 662 | |
| 6716 | 11년 전 | 2311 | ||
| 6715 | 11년 전 | 7580 | ||
| 6714 | 11년 전 | 2049 | ||
| 6713 | 11년 전 | 787 | ||
| 6712 |
geektoo
|
11년 전 | 1161 | |
| 6711 | 11년 전 | 902 | ||
| 6710 |
sirzzang
|
11년 전 | 2131 | |
| 6709 |
bewitched
|
11년 전 | 1804 | |
| 6708 |
levin
|
11년 전 | 573 | |
| 6707 | 11년 전 | 769 | ||
| 6706 | 11년 전 | 1801 | ||
| 6705 | 11년 전 | 993 | ||
| 6704 |
|
11년 전 | 758 | |
| 6703 | 11년 전 | 420 | ||
| 6702 | 11년 전 | 1102 | ||
| 6701 | 11년 전 | 807 | ||
| 6700 | 11년 전 | 1723 | ||
| 6699 | 11년 전 | 717 | ||
| 6698 |
이박사친구
|
11년 전 | 731 | |
| 6697 | 11년 전 | 1219 | ||
| 6696 | 11년 전 | 621 | ||
| 6695 |
Header
|
11년 전 | 708 | |
| 6694 | 11년 전 | 1165 | ||
| 6693 |
|
11년 전 | 1116 | |
| 6692 | 11년 전 | 1152 | ||
| 6691 | 11년 전 | 1289 | ||
| 6690 |
|
11년 전 | 719 | |
| 6689 | 11년 전 | 898 | ||
| 6688 | 11년 전 | 938 | ||
| 6687 | 11년 전 | 538 | ||
| 6686 |
RGB255
|
11년 전 | 964 | |
| 6685 |
|
11년 전 | 644 | |
| 6684 | 11년 전 | 721 | ||
| 6683 | 11년 전 | 388 | ||
| 6682 | 11년 전 | 1134 | ||
| 6681 | 11년 전 | 1423 | ||
| 6680 | 11년 전 | 459 | ||
| 6679 |
RGB255
|
11년 전 | 399 | |
| 6678 | 11년 전 | 1352 | ||
| 6677 |
|
12년 전 | 444 | |
| 6676 | 12년 전 | 1018 | ||
| 6675 |
디자이너필이
|
12년 전 | 827 | |
| 6674 | 12년 전 | 1243 | ||
| 6673 | 12년 전 | 1315 | ||
| 6672 | 12년 전 | 6033 | ||
| 6671 | 12년 전 | 1340 | ||
| 6670 |
하프의정령
|
12년 전 | 575 | |
| 6669 | 12년 전 | 417 | ||
| 6668 |
공부하고가겠슴다
|
12년 전 | 463 | |
| 6667 |
하프의정령
|
12년 전 | 552 | |
| 6666 | 12년 전 | 790 | ||
| 6665 | 12년 전 | 1415 | ||
| 6664 | 12년 전 | 934 | ||
| 6663 | 12년 전 | 1159 | ||
| 6662 | 12년 전 | 413 | ||
| 6661 |
basketball
|
12년 전 | 510 | |
| 6660 | 12년 전 | 2512 | ||
| 6659 | 12년 전 | 1614 | ||
| 6658 |
|
12년 전 | 1338 | |
| 6657 |
|
12년 전 | 3160 | |
| 6656 | 12년 전 | 566 | ||
| 6655 |
프로프리랜서
|
12년 전 | 2335 | |
| 6654 |
프로프리랜서
|
12년 전 | 1914 | |
| 6653 |
프로프리랜서
|
12년 전 | 1747 | |
| 6652 |
프로프리랜서
|
12년 전 | 1833 | |
| 6651 |
|
12년 전 | 786 | |
| 6650 | 12년 전 | 1319 | ||
| 6649 | 12년 전 | 1318 | ||
| 6648 | 12년 전 | 813 | ||
| 6647 | 12년 전 | 3162 | ||
| 6646 | 12년 전 | 474 | ||
| 6645 | 12년 전 | 968 | ||
| 6644 |
BBAYOUNG
|
12년 전 | 1393 | |
| 6643 | 12년 전 | 1803 | ||
| 6642 | 12년 전 | 649 | ||
| 6641 | 12년 전 | 1338 | ||
| 6640 | 12년 전 | 715 | ||
| 6639 | 12년 전 | 2321 | ||
| 6638 |
jasmin2
|
12년 전 | 755 | |
| 6637 |
geektoo
|
12년 전 | 447 | |
| 6636 | 12년 전 | 669 | ||
| 6635 |
프로프리랜서
|
12년 전 | 2235 | |
| 6634 |
프로프리랜서
|
12년 전 | 1743 | |
| 6633 |
프로프리랜서
|
12년 전 | 4060 | |
| 6632 |
프로프리랜서
|
12년 전 | 1350 | |
| 6631 |
프로프리랜서
|
12년 전 | 1785 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기