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

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

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

프로그램

+
제목 글쓴이 날짜 조회
12년 전 조회 5,873
12년 전 조회 1,474
12년 전 조회 4,711
12년 전 조회 933
12년 전 조회 4,096
12년 전 조회 1,245
12년 전 조회 1,109
12년 전 조회 1,684
12년 전 조회 1,319
12년 전 조회 570
12년 전 조회 546
12년 전 조회 2만
12년 전 조회 508
12년 전 조회 1,078
12년 전 조회 1,080
12년 전 조회 1,325
12년 전 조회 3,465
12년 전 조회 706
12년 전 조회 2,210
12년 전 조회 4,889
12년 전 조회 661
12년 전 조회 3,850
12년 전 조회 1,031
12년 전 조회 3,761
12년 전 조회 914
12년 전 조회 1,764
12년 전 조회 929
12년 전 조회 2,156
12년 전 조회 7,942
12년 전 조회 1,925
12년 전 조회 1,715
12년 전 조회 1,533
12년 전 조회 598
12년 전 조회 2,117
12년 전 조회 1,847
12년 전 조회 636
12년 전 조회 1,199
12년 전 조회 620
12년 전 조회 908
12년 전 조회 1,193
13년 전 조회 3,578
13년 전 조회 2,113
13년 전 조회 2,303
13년 전 조회 3,675
13년 전 조회 3,481
13년 전 조회 3,138
13년 전 조회 4,006
13년 전 조회 1,020
13년 전 조회 5,985
13년 전 조회 1,373
13년 전 조회 1,223
13년 전 조회 3,404
13년 전 조회 3,036
13년 전 조회 5,187
13년 전 조회 2,695
13년 전 조회 3,331
13년 전 조회 1,022
13년 전 조회 855
13년 전 조회 2,021
13년 전 조회 815
13년 전 조회 2,217
13년 전 조회 1,517
13년 전 조회 1,115
13년 전 조회 2,104
13년 전 조회 2,316
13년 전 조회 1,319
13년 전 조회 792
13년 전 조회 1,339
13년 전 조회 830
13년 전 조회 1,216
13년 전 조회 3,855
13년 전 조회 3,952
13년 전 조회 1,373
13년 전 조회 6,972
13년 전 조회 7,557
13년 전 조회 2,311
13년 전 조회 3,864
13년 전 조회 639
13년 전 조회 3,663
13년 전 조회 3,485
13년 전 조회 2,720
13년 전 조회 2,824
13년 전 조회 2,361
13년 전 조회 2,269
13년 전 조회 5,174
13년 전 조회 2,810
13년 전 조회 3,132
13년 전 조회 2,255
13년 전 조회 6,828
13년 전 조회 2,564
13년 전 조회 3,425
13년 전 조회 2,320
13년 전 조회 4,817
13년 전 조회 3,683
13년 전 조회 2,548
13년 전 조회 2,231
13년 전 조회 1,288
13년 전 조회 3,431
13년 전 조회 4,091
13년 전 조회 3,456
🐛 버그신고