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

· 13년 전 · 2813
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,396
13년 전 조회 2,965
13년 전 조회 6,258
13년 전 조회 2,215
13년 전 조회 5,619
13년 전 조회 2,767
13년 전 조회 2,614
13년 전 조회 2,919
13년 전 조회 2,811
13년 전 조회 2,055
13년 전 조회 2,023
13년 전 조회 2.2만
13년 전 조회 2,004
13년 전 조회 2,580
13년 전 조회 2,565
13년 전 조회 2,834
13년 전 조회 5,009
13년 전 조회 2,211
13년 전 조회 3,686
13년 전 조회 6,339
13년 전 조회 2,175
13년 전 조회 5,358
13년 전 조회 2,522
13년 전 조회 5,307
13년 전 조회 2,409
13년 전 조회 3,266
13년 전 조회 2,378
13년 전 조회 3,650
13년 전 조회 9,458
13년 전 조회 3,442
13년 전 조회 3,234
13년 전 조회 3,061
13년 전 조회 2,078
13년 전 조회 3,573
13년 전 조회 3,366
13년 전 조회 2,138
13년 전 조회 2,682
13년 전 조회 2,120
13년 전 조회 2,239
13년 전 조회 2,688
13년 전 조회 5,076
13년 전 조회 3,583
13년 전 조회 3,801
13년 전 조회 5,168
13년 전 조회 4,940
13년 전 조회 4,606
13년 전 조회 5,493
13년 전 조회 2,442
13년 전 조회 7,417
13년 전 조회 2,814
13년 전 조회 2,652
13년 전 조회 4,843
13년 전 조회 4,532
13년 전 조회 6,665
13년 전 조회 4,192
13년 전 조회 4,853
13년 전 조회 2,520
13년 전 조회 2,321
13년 전 조회 3,520
13년 전 조회 2,318
13년 전 조회 3,681
13년 전 조회 2,990
13년 전 조회 2,608
13년 전 조회 3,592
13년 전 조회 3,575
13년 전 조회 2,804
13년 전 조회 2,300
13년 전 조회 2,857
13년 전 조회 2,334
13년 전 조회 2,691
13년 전 조회 5,368
13년 전 조회 5,466
13년 전 조회 2,873
13년 전 조회 8,413
13년 전 조회 9,078
13년 전 조회 3,777
13년 전 조회 5,301
13년 전 조회 2,109
13년 전 조회 5,151
13년 전 조회 4,759
13년 전 조회 4,214
13년 전 조회 4,317
13년 전 조회 3,846
13년 전 조회 3,455
13년 전 조회 6,647
13년 전 조회 4,293
13년 전 조회 4,389
13년 전 조회 3,745
13년 전 조회 8,317
13년 전 조회 3,808
13년 전 조회 4,912
13년 전 조회 3,605
13년 전 조회 6,054
13년 전 조회 5,184
13년 전 조회 4,076
13년 전 조회 3,735
13년 전 조회 2,809
13년 전 조회 4,911
13년 전 조회 5,614
13년 전 조회 4,952