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

· 13년 전 · 1373
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,475
12년 전 조회 4,711
12년 전 조회 933
12년 전 조회 4,097
12년 전 조회 1,248
12년 전 조회 1,109
12년 전 조회 1,684
12년 전 조회 1,319
12년 전 조회 572
12년 전 조회 546
12년 전 조회 2만
12년 전 조회 509
12년 전 조회 1,078
12년 전 조회 1,081
12년 전 조회 1,326
12년 전 조회 3,466
12년 전 조회 707
12년 전 조회 2,212
12년 전 조회 4,891
12년 전 조회 663
12년 전 조회 3,851
12년 전 조회 1,032
12년 전 조회 3,762
12년 전 조회 914
12년 전 조회 1,765
12년 전 조회 930
12년 전 조회 2,156
12년 전 조회 7,942
12년 전 조회 1,927
12년 전 조회 1,715
12년 전 조회 1,533
12년 전 조회 598
12년 전 조회 2,120
12년 전 조회 1,847
12년 전 조회 636
12년 전 조회 1,201
12년 전 조회 620
12년 전 조회 909
12년 전 조회 1,193
13년 전 조회 3,580
13년 전 조회 2,114
13년 전 조회 2,304
13년 전 조회 3,677
13년 전 조회 3,481
13년 전 조회 3,138
13년 전 조회 4,009
13년 전 조회 1,022
13년 전 조회 5,985
13년 전 조회 1,374
13년 전 조회 1,223
13년 전 조회 3,406
13년 전 조회 3,036
13년 전 조회 5,187
13년 전 조회 2,696
13년 전 조회 3,334
13년 전 조회 1,022
13년 전 조회 856
13년 전 조회 2,021
13년 전 조회 817
13년 전 조회 2,217
13년 전 조회 1,518
13년 전 조회 1,116
13년 전 조회 2,104
13년 전 조회 2,316
13년 전 조회 1,322
13년 전 조회 794
13년 전 조회 1,341
13년 전 조회 832
13년 전 조회 1,218
13년 전 조회 3,856
13년 전 조회 3,954
13년 전 조회 1,373
13년 전 조회 6,973
13년 전 조회 7,557
13년 전 조회 2,312
13년 전 조회 3,865
13년 전 조회 639
13년 전 조회 3,666
13년 전 조회 3,485
13년 전 조회 2,721
13년 전 조회 2,824
13년 전 조회 2,362
13년 전 조회 2,269
13년 전 조회 5,176
13년 전 조회 2,811
13년 전 조회 3,133
13년 전 조회 2,256
13년 전 조회 6,829
13년 전 조회 2,565
13년 전 조회 3,425
13년 전 조회 2,322
13년 전 조회 4,818
13년 전 조회 3,684
13년 전 조회 2,550
13년 전 조회 2,231
13년 전 조회 1,289
13년 전 조회 3,432
13년 전 조회 4,092
13년 전 조회 3,457
🐛 버그신고