네임서버 설치 도중에 에러가 뜨는데... 뭐가 문제일까요?

· 13년 전 · 1420
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; };

};
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
12년 전 조회 5,915
12년 전 조회 1,519
12년 전 조회 4,750
12년 전 조회 980
12년 전 조회 4,149
12년 전 조회 1,299
12년 전 조회 1,153
12년 전 조회 1,730
12년 전 조회 1,361
12년 전 조회 619
12년 전 조회 585
12년 전 조회 2만
12년 전 조회 549
12년 전 조회 1,117
12년 전 조회 1,125
12년 전 조회 1,367
12년 전 조회 3,514
12년 전 조회 752
12년 전 조회 2,253
12년 전 조회 4,927
12년 전 조회 700
12년 전 조회 3,890
12년 전 조회 1,082
12년 전 조회 3,807
12년 전 조회 957
13년 전 조회 1,805
13년 전 조회 975
13년 전 조회 2,196
13년 전 조회 7,986
13년 전 조회 1,972
13년 전 조회 1,773
13년 전 조회 1,577
13년 전 조회 634
13년 전 조회 2,163
13년 전 조회 1,888
13년 전 조회 672
13년 전 조회 1,242
13년 전 조회 661
13년 전 조회 945
13년 전 조회 1,240
13년 전 조회 3,621
13년 전 조회 2,156
13년 전 조회 2,344
13년 전 조회 3,710
13년 전 조회 3,525
13년 전 조회 3,185
13년 전 조회 4,051
13년 전 조회 1,066
13년 전 조회 6,026
13년 전 조회 1,421
13년 전 조회 1,257
13년 전 조회 3,442
13년 전 조회 3,077
13년 전 조회 5,227
13년 전 조회 2,735
13년 전 조회 3,380
13년 전 조회 1,072
13년 전 조회 896
13년 전 조회 2,061
13년 전 조회 847
13년 전 조회 2,257
13년 전 조회 1,550
13년 전 조회 1,156
13년 전 조회 2,142
13년 전 조회 2,353
13년 전 조회 1,351
13년 전 조회 836
13년 전 조회 1,381
13년 전 조회 871
13년 전 조회 1,252
13년 전 조회 3,899
13년 전 조회 3,989
13년 전 조회 1,405
13년 전 조회 7,001
13년 전 조회 7,587
13년 전 조회 2,347
13년 전 조회 3,896
13년 전 조회 669
13년 전 조회 3,704
13년 전 조회 3,531
13년 전 조회 2,768
13년 전 조회 2,858
13년 전 조회 2,401
13년 전 조회 2,288
13년 전 조회 5,211
13년 전 조회 2,849
13년 전 조회 3,168
13년 전 조회 2,295
13년 전 조회 6,864
13년 전 조회 2,603
13년 전 조회 3,462
13년 전 조회 2,360
13년 전 조회 4,848
13년 전 조회 3,727
13년 전 조회 2,583
13년 전 조회 2,272
13년 전 조회 1,326
13년 전 조회 3,462
13년 전 조회 4,124
13년 전 조회 3,486
🐛 버그신고