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

· 13년 전 · 1368
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,869
12년 전 조회 1,471
12년 전 조회 4,709
12년 전 조회 932
12년 전 조회 4,095
12년 전 조회 1,244
12년 전 조회 1,106
12년 전 조회 1,681
12년 전 조회 1,317
12년 전 조회 568
12년 전 조회 543
12년 전 조회 2만
12년 전 조회 506
12년 전 조회 1,073
12년 전 조회 1,078
12년 전 조회 1,321
12년 전 조회 3,464
12년 전 조회 704
12년 전 조회 2,208
12년 전 조회 4,887
12년 전 조회 657
12년 전 조회 3,847
12년 전 조회 1,027
12년 전 조회 3,758
12년 전 조회 911
12년 전 조회 1,763
12년 전 조회 926
12년 전 조회 2,153
12년 전 조회 7,938
12년 전 조회 1,923
12년 전 조회 1,714
12년 전 조회 1,533
12년 전 조회 596
12년 전 조회 2,116
12년 전 조회 1,843
12년 전 조회 635
12년 전 조회 1,197
12년 전 조회 619
12년 전 조회 902
12년 전 조회 1,189
13년 전 조회 3,575
13년 전 조회 2,111
13년 전 조회 2,299
13년 전 조회 3,670
13년 전 조회 3,479
13년 전 조회 3,136
13년 전 조회 4,004
13년 전 조회 1,018
13년 전 조회 5,984
13년 전 조회 1,369
13년 전 조회 1,219
13년 전 조회 3,403
13년 전 조회 3,034
13년 전 조회 5,186
13년 전 조회 2,693
13년 전 조회 3,330
13년 전 조회 1,022
13년 전 조회 852
13년 전 조회 2,018
13년 전 조회 815
13년 전 조회 2,217
13년 전 조회 1,513
13년 전 조회 1,112
13년 전 조회 2,102
13년 전 조회 2,316
13년 전 조회 1,317
13년 전 조회 791
13년 전 조회 1,337
13년 전 조회 829
13년 전 조회 1,213
13년 전 조회 3,851
13년 전 조회 3,950
13년 전 조회 1,370
13년 전 조회 6,970
13년 전 조회 7,555
13년 전 조회 2,310
13년 전 조회 3,862
13년 전 조회 636
13년 전 조회 3,663
13년 전 조회 3,481
13년 전 조회 2,718
13년 전 조회 2,820
13년 전 조회 2,360
13년 전 조회 2,266
13년 전 조회 5,172
13년 전 조회 2,810
13년 전 조회 3,131
13년 전 조회 2,254
13년 전 조회 6,828
13년 전 조회 2,562
13년 전 조회 3,420
13년 전 조회 2,317
13년 전 조회 4,813
13년 전 조회 3,681
13년 전 조회 2,547
13년 전 조회 2,230
13년 전 조회 1,287
13년 전 조회 3,430
13년 전 조회 4,091
13년 전 조회 3,454
🐛 버그신고