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

· 13년 전 · 2374
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년 전 조회 6,931
13년 전 조회 2,520
13년 전 조회 5,771
13년 전 조회 1,849
13년 전 조회 5,164
13년 전 조회 2,321
13년 전 조회 2,150
13년 전 조회 2,593
13년 전 조회 2,352
13년 전 조회 1,588
13년 전 조회 1,565
13년 전 조회 2.2만
13년 전 조회 1,543
13년 전 조회 2,104
13년 전 조회 2,145
13년 전 조회 2,371
13년 전 조회 4,520
13년 전 조회 1,741
13년 전 조회 3,259
13년 전 조회 5,916
13년 전 조회 1,695
13년 전 조회 4,889
13년 전 조회 2,100
13년 전 조회 4,822
13년 전 조회 1,936
13년 전 조회 2,810
13년 전 조회 1,962
13년 전 조회 3,188
13년 전 조회 9,009
13년 전 조회 2,981
13년 전 조회 2,788
13년 전 조회 2,569
13년 전 조회 1,613
13년 전 조회 3,146
13년 전 조회 2,937
13년 전 조회 1,682
13년 전 조회 2,244
13년 전 조회 1,630
13년 전 조회 1,918
13년 전 조회 2,273
13년 전 조회 4,625
13년 전 조회 3,143
13년 전 조회 3,347
13년 전 조회 4,718
13년 전 조회 4,481
13년 전 조회 4,137
13년 전 조회 5,006
13년 전 조회 2,035
13년 전 조회 7,003
13년 전 조회 2,375
13년 전 조회 2,206
13년 전 조회 4,416
13년 전 조회 4,075
13년 전 조회 6,225
13년 전 조회 3,789
13년 전 조회 4,436
13년 전 조회 2,126
13년 전 조회 1,902
13년 전 조회 3,140
13년 전 조회 1,890
13년 전 조회 3,260
13년 전 조회 2,563
13년 전 조회 2,163
13년 전 조회 3,176
13년 전 조회 3,216
13년 전 조회 2,397
13년 전 조회 1,883
13년 전 조회 2,443
13년 전 조회 1,927
13년 전 조회 2,306
13년 전 조회 4,921
13년 전 조회 5,022
13년 전 조회 2,438
13년 전 조회 7,990
13년 전 조회 8,646
13년 전 조회 3,323
13년 전 조회 4,889
13년 전 조회 1,698
13년 전 조회 4,743
13년 전 조회 4,391
13년 전 조회 3,803
13년 전 조회 3,896
13년 전 조회 3,442
13년 전 조회 3,115
13년 전 조회 6,241
13년 전 조회 3,875
13년 전 조회 4,054
13년 전 조회 3,309
13년 전 조회 7,906
13년 전 조회 3,489
13년 전 조회 4,505
13년 전 조회 3,261
13년 전 조회 5,725
13년 전 조회 4,762
13년 전 조회 3,672
13년 전 조회 3,339
13년 전 조회 2,399
13년 전 조회 4,493
13년 전 조회 5,206
13년 전 조회 4,537