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

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

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

프로그램

+
제목 글쓴이 날짜 조회
13년 전 조회 7,351
13년 전 조회 2,924
13년 전 조회 6,212
13년 전 조회 2,200
13년 전 조회 5,576
13년 전 조회 2,733
13년 전 조회 2,584
13년 전 조회 2,910
13년 전 조회 2,775
13년 전 조회 2,016
13년 전 조회 1,984
13년 전 조회 2.2만
13년 전 조회 1,963
13년 전 조회 2,541
13년 전 조회 2,536
13년 전 조회 2,790
13년 전 조회 4,966
13년 전 조회 2,183
13년 전 조회 3,648
13년 전 조회 6,297
13년 전 조회 2,142
13년 전 조회 5,331
13년 전 조회 2,486
13년 전 조회 5,274
13년 전 조회 2,361
13년 전 조회 3,220
13년 전 조회 2,349
13년 전 조회 3,631
13년 전 조회 9,426
13년 전 조회 3,403
13년 전 조회 3,195
13년 전 조회 3,012
13년 전 조회 2,032
13년 전 조회 3,538
13년 전 조회 3,334
13년 전 조회 2,096
13년 전 조회 2,654
13년 전 조회 2,081
13년 전 조회 2,225
13년 전 조회 2,651
13년 전 조회 5,036
13년 전 조회 3,545
13년 전 조회 3,764
13년 전 조회 5,123
13년 전 조회 4,904
13년 전 조회 4,566
13년 전 조회 5,445
13년 전 조회 2,409
13년 전 조회 7,384
13년 전 조회 2,778
13년 전 조회 2,620
13년 전 조회 4,813
13년 전 조회 4,504
13년 전 조회 6,619
13년 전 조회 4,165
13년 전 조회 4,815
13년 전 조회 2,480
13년 전 조회 2,294
13년 전 조회 3,478
13년 전 조회 2,287
13년 전 조회 3,648
13년 전 조회 2,967
13년 전 조회 2,571
13년 전 조회 3,564
13년 전 조회 3,562
13년 전 조회 2,772
13년 전 조회 2,272
13년 전 조회 2,832
13년 전 조회 2,304
13년 전 조회 2,652
13년 전 조회 5,329
13년 전 조회 5,431
13년 전 조회 2,841
13년 전 조회 8,386
13년 전 조회 9,049
13년 전 조회 3,735
13년 전 조회 5,274
13년 전 조회 2,086
13년 전 조회 5,124
13년 전 조회 4,746
13년 전 조회 4,183
13년 전 조회 4,288
13년 전 조회 3,814
13년 전 조회 3,446
13년 전 조회 6,609
13년 전 조회 4,259
13년 전 조회 4,379
13년 전 조회 3,700
13년 전 조회 8,292
13년 전 조회 3,796
13년 전 조회 4,879
13년 전 조회 3,591
13년 전 조회 6,042
13년 전 조회 5,155
13년 전 조회 4,045
13년 전 조회 3,708
13년 전 조회 2,776
13년 전 조회 4,872
13년 전 조회 5,582
13년 전 조회 4,919