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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6030 | 12년 전 | 2823 | ||
| 6029 | 12년 전 | 2849 | ||
| 6028 | 12년 전 | 1475 | ||
| 6027 | 12년 전 | 893 | ||
| 6026 |
kiplayer
|
12년 전 | 802 | |
| 6025 | 12년 전 | 587 | ||
| 6024 | 12년 전 | 2810 | ||
| 6023 | 12년 전 | 2951 | ||
| 6022 |
|
12년 전 | 2109 | |
| 6021 |
Holyreign
|
12년 전 | 1337 | |
| 6020 | 12년 전 | 786 | ||
| 6019 | 12년 전 | 2862 | ||
| 6018 | 12년 전 | 3192 | ||
| 6017 | 12년 전 | 1242 | ||
| 6016 |
kiplayer
|
12년 전 | 10571 | |
| 6015 |
itlang
|
12년 전 | 1420 | |
| 6014 | 12년 전 | 425 | ||
| 6013 |
senseme
|
12년 전 | 1363 | |
| 6012 | 12년 전 | 3115 | ||
| 6011 | 12년 전 | 7132 | ||
| 6010 | 12년 전 | 8965 | ||
| 6009 | 12년 전 | 2868 | ||
| 6008 | 12년 전 | 2992 | ||
| 6007 | 12년 전 | 6677 | ||
| 6006 | 12년 전 | 10515 | ||
| 6005 | 12년 전 | 4051 | ||
| 6004 |
|
12년 전 | 582 | |
| 6003 | 12년 전 | 885 | ||
| 6002 | 12년 전 | 2353 | ||
| 6001 | 12년 전 | 687 | ||
| 6000 |
kiplayer
|
12년 전 | 3742 | |
| 5999 | 12년 전 | 434 | ||
| 5998 |
|
12년 전 | 2941 | |
| 5997 |
|
12년 전 | 3441 | |
| 5996 | 12년 전 | 2095 | ||
| 5995 |
kiplayer
|
12년 전 | 2173 | |
| 5994 |
|
12년 전 | 3268 | |
| 5993 |
windowhan
|
12년 전 | 677 | |
| 5992 | 12년 전 | 2903 | ||
| 5991 | 12년 전 | 5233 | ||
| 5990 | 12년 전 | 1642 | ||
| 5989 |
AMDbest
|
12년 전 | 1352 | |
| 5988 | 12년 전 | 1218 | ||
| 5987 |
kiplayer
|
12년 전 | 1136 | |
| 5986 |
한번잘해보자
|
12년 전 | 926 | |
| 5985 |
kiplayer
|
12년 전 | 3141 | |
| 5984 |
dsv421
|
12년 전 | 806 | |
| 5983 |
dsv421
|
12년 전 | 1508 | |
| 5982 |
dsv421
|
12년 전 | 5836 | |
| 5981 | 12년 전 | 3213 | ||
| 5980 |
MFBob
|
12년 전 | 2618 | |
| 5979 | 12년 전 | 3099 | ||
| 5978 |
AMDbest
|
12년 전 | 1460 | |
| 5977 | 12년 전 | 792 | ||
| 5976 | 12년 전 | 1209 | ||
| 5975 | 12년 전 | 1273 | ||
| 5974 | 12년 전 | 611 | ||
| 5973 |
kiplayer
|
12년 전 | 3549 | |
| 5972 |
kiplayer
|
12년 전 | 3975 | |
| 5971 |
kiplayer
|
12년 전 | 2296 | |
| 5970 |
kiplayer
|
12년 전 | 8291 | |
| 5969 |
kiplayer
|
12년 전 | 949 | |
| 5968 | 12년 전 | 8740 | ||
| 5967 |
|
12년 전 | 16904 | |
| 5966 | 12년 전 | 1227 | ||
| 5965 | 12년 전 | 707 | ||
| 5964 | 12년 전 | 6246 | ||
| 5963 | 12년 전 | 703 | ||
| 5962 | 12년 전 | 885 | ||
| 5961 | 12년 전 | 635 | ||
| 5960 | 12년 전 | 786 | ||
| 5959 |
|
12년 전 | 1124 | |
| 5958 | 12년 전 | 978 | ||
| 5957 |
웹디자인되고파
|
12년 전 | 1085 | |
| 5956 | 12년 전 | 3656 | ||
| 5955 | 12년 전 | 2138 | ||
| 5954 | 12년 전 | 4393 | ||
| 5953 | 12년 전 | 3085 | ||
| 5952 | 12년 전 | 4267 | ||
| 5951 | 12년 전 | 2075 | ||
| 5950 | 12년 전 | 1277 | ||
| 5949 | 12년 전 | 929 | ||
| 5948 | 12년 전 | 2075 | ||
| 5947 | 12년 전 | 5000 | ||
| 5946 |
dsv421
|
12년 전 | 1274 | |
| 5945 |
dsv421
|
12년 전 | 4120 | |
| 5944 |
dsv421
|
12년 전 | 5644 | |
| 5943 | 12년 전 | 1282 | ||
| 5942 | 12년 전 | 2538 | ||
| 5941 |
프로프리랜서
|
12년 전 | 1644 | |
| 5940 |
atria
|
12년 전 | 612 | |
| 5939 | 12년 전 | 2339 | ||
| 5938 | 12년 전 | 2079 | ||
| 5937 |
프로프리랜서
|
12년 전 | 766 | |
| 5936 |
프로프리랜서
|
12년 전 | 713 | |
| 5935 |
프로프리랜서
|
12년 전 | 3211 | |
| 5934 |
프로프리랜서
|
12년 전 | 1629 | |
| 5933 |
AMDbest
|
12년 전 | 647 | |
| 5932 |
AMDbest
|
12년 전 | 501 | |
| 5931 | 12년 전 | 8141 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기