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

· 13년 전 · 1370
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,870
12년 전 조회 1,473
12년 전 조회 4,711
12년 전 조회 932
12년 전 조회 4,095
12년 전 조회 1,244
12년 전 조회 1,107
12년 전 조회 1,681
12년 전 조회 1,318
12년 전 조회 569
12년 전 조회 544
12년 전 조회 2만
12년 전 조회 507
12년 전 조회 1,077
12년 전 조회 1,080
12년 전 조회 1,322
12년 전 조회 3,465
12년 전 조회 705
12년 전 조회 2,209
12년 전 조회 4,889
12년 전 조회 659
12년 전 조회 3,848
12년 전 조회 1,029
12년 전 조회 3,760
12년 전 조회 913
12년 전 조회 1,764
12년 전 조회 927
12년 전 조회 2,154
12년 전 조회 7,940
12년 전 조회 1,924
12년 전 조회 1,714
12년 전 조회 1,533
12년 전 조회 597
12년 전 조회 2,117
12년 전 조회 1,844
12년 전 조회 636
12년 전 조회 1,197
12년 전 조회 620
12년 전 조회 904
12년 전 조회 1,190
13년 전 조회 3,576
13년 전 조회 2,112
13년 전 조회 2,302
13년 전 조회 3,671
13년 전 조회 3,479
13년 전 조회 3,136
13년 전 조회 4,006
13년 전 조회 1,019
13년 전 조회 5,984
13년 전 조회 1,371
13년 전 조회 1,220
13년 전 조회 3,403
13년 전 조회 3,035
13년 전 조회 5,187
13년 전 조회 2,694
13년 전 조회 3,330
13년 전 조회 1,022
13년 전 조회 852
13년 전 조회 2,019
13년 전 조회 815
13년 전 조회 2,217
13년 전 조회 1,514
13년 전 조회 1,114
13년 전 조회 2,102
13년 전 조회 2,316
13년 전 조회 1,318
13년 전 조회 791
13년 전 조회 1,338
13년 전 조회 829
13년 전 조회 1,214
13년 전 조회 3,851
13년 전 조회 3,950
13년 전 조회 1,371
13년 전 조회 6,971
13년 전 조회 7,557
13년 전 조회 2,310
13년 전 조회 3,862
13년 전 조회 637
13년 전 조회 3,663
13년 전 조회 3,484
13년 전 조회 2,719
13년 전 조회 2,822
13년 전 조회 2,360
13년 전 조회 2,267
13년 전 조회 5,173
13년 전 조회 2,810
13년 전 조회 3,131
13년 전 조회 2,254
13년 전 조회 6,828
13년 전 조회 2,562
13년 전 조회 3,424
13년 전 조회 2,317
13년 전 조회 4,816
13년 전 조회 3,682
13년 전 조회 2,547
13년 전 조회 2,230
13년 전 조회 1,287
13년 전 조회 3,430
13년 전 조회 4,091
13년 전 조회 3,455
🐛 버그신고