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

· 13년 전 · 1836
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,361
13년 전 조회 1,984
13년 전 조회 5,198
13년 전 조회 1,423
13년 전 조회 4,580
13년 전 조회 1,777
13년 전 조회 1,599
13년 전 조회 2,162
13년 전 조회 1,790
13년 전 조회 1,051
13년 전 조회 1,019
13년 전 조회 2.1만
13년 전 조회 977
13년 전 조회 1,567
13년 전 조회 1,562
13년 전 조회 1,813
13년 전 조회 3,944
13년 전 조회 1,175
13년 전 조회 2,722
13년 전 조회 5,369
13년 전 조회 1,154
13년 전 조회 4,346
13년 전 조회 1,545
13년 전 조회 4,279
13년 전 조회 1,398
13년 전 조회 2,235
13년 전 조회 1,444
13년 전 조회 2,643
13년 전 조회 8,443
13년 전 조회 2,426
13년 전 조회 2,213
13년 전 조회 2,037
13년 전 조회 1,071
13년 전 조회 2,613
13년 전 조회 2,356
13년 전 조회 1,116
13년 전 조회 1,686
13년 전 조회 1,097
13년 전 조회 1,461
13년 전 조회 1,683
13년 전 조회 4,056
13년 전 조회 2,593
13년 전 조회 2,784
13년 전 조회 4,148
13년 전 조회 3,950
13년 전 조회 3,611
13년 전 조회 4,490
13년 전 조회 1,538
13년 전 조회 6,497
13년 전 조회 1,837
13년 전 조회 1,710
13년 전 조회 3,901
13년 전 조회 3,513
13년 전 조회 5,646
13년 전 조회 3,213
13년 전 조회 3,842
13년 전 조회 1,539
13년 전 조회 1,350
13년 전 조회 2,536
13년 전 조회 1,297
13년 전 조회 2,673
13년 전 조회 2,009
13년 전 조회 1,600
13년 전 조회 2,575
13년 전 조회 2,782
13년 전 조회 1,829
13년 전 조회 1,316
13년 전 조회 1,859
13년 전 조회 1,366
13년 전 조회 1,732
13년 전 조회 4,364
13년 전 조회 4,445
13년 전 조회 1,878
13년 전 조회 7,371
13년 전 조회 8,037
13년 전 조회 2,750
13년 전 조회 4,303
13년 전 조회 1,087
13년 전 조회 4,155
13년 전 조회 3,979
13년 전 조회 3,208
13년 전 조회 3,315
13년 전 조회 2,839
13년 전 조회 2,671
13년 전 조회 5,651
13년 전 조회 3,292
13년 전 조회 3,615
13년 전 조회 2,735
13년 전 조회 7,280
13년 전 조회 3,042
13년 전 조회 3,907
13년 전 조회 2,808
13년 전 조회 5,285
13년 전 조회 4,173
13년 전 조회 3,092
13년 전 조회 2,755
13년 전 조회 1,794
13년 전 조회 3,927
13년 전 조회 4,606
13년 전 조회 3,948