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

· 13년 전 · 2905
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,496
13년 전 조회 3,062
13년 전 조회 6,358
13년 전 조회 2,257
13년 전 조회 5,719
13년 전 조회 2,881
13년 전 조회 2,713
13년 전 조회 2,950
13년 전 조회 2,905
13년 전 조회 2,155
13년 전 조회 2,129
13년 전 조회 2.2만
13년 전 조회 2,079
13년 전 조회 2,693
13년 전 조회 2,667
13년 전 조회 2,912
13년 전 조회 5,100
13년 전 조회 2,310
13년 전 조회 3,805
13년 전 조회 6,439
13년 전 조회 2,269
13년 전 조회 5,460
13년 전 조회 2,639
13년 전 조회 5,405
13년 전 조회 2,518
13년 전 조회 3,394
13년 전 조회 2,499
13년 전 조회 3,747
13년 전 조회 9,545
13년 전 조회 3,553
13년 전 조회 3,329
13년 전 조회 3,183
13년 전 조회 2,180
13년 전 조회 3,694
13년 전 조회 3,489
13년 전 조회 2,235
13년 전 조회 2,789
13년 전 조회 2,223
13년 전 조회 2,291
13년 전 조회 2,804
13년 전 조회 5,166
13년 전 조회 3,680
13년 전 조회 3,910
13년 전 조회 5,270
13년 전 조회 5,031
13년 전 조회 4,706
13년 전 조회 5,601
13년 전 조회 2,560
13년 전 조회 7,522
13년 전 조회 2,906
13년 전 조회 2,761
13년 전 조회 4,944
13년 전 조회 4,638
13년 전 조회 6,754
13년 전 조회 4,295
13년 전 조회 4,974
13년 전 조회 2,634
13년 전 조회 2,443
13년 전 조회 3,638
13년 전 조회 2,413
13년 전 조회 3,787
13년 전 조회 3,100
13년 전 조회 2,725
13년 전 조회 3,690
13년 전 조회 3,593
13년 전 조회 2,895
13년 전 조회 2,404
13년 전 조회 2,950
13년 전 조회 2,443
13년 전 조회 2,796
13년 전 조회 5,474
13년 전 조회 5,588
13년 전 조회 2,976
13년 전 조회 8,489
13년 전 조회 9,162
13년 전 조회 3,884
13년 전 조회 5,413
13년 전 조회 2,209
13년 전 조회 5,248
13년 전 조회 4,792
13년 전 조회 4,310
13년 전 조회 4,401
13년 전 조회 3,945
13년 전 조회 3,474
13년 전 조회 6,733
13년 전 조회 4,369
13년 전 조회 4,413
13년 전 조회 3,826
13년 전 조회 8,392
13년 전 조회 3,827
13년 전 조회 5,003
13년 전 조회 3,636
13년 전 조회 6,080
13년 전 조회 5,272
13년 전 조회 4,181
13년 전 조회 3,831
13년 전 조회 2,905
13년 전 조회 4,999
13년 전 조회 5,705
13년 전 조회 5,055