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

· 13년 전 · 1376
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,875
12년 전 조회 1,477
12년 전 조회 4,714
12년 전 조회 941
12년 전 조회 4,101
12년 전 조회 1,250
12년 전 조회 1,114
12년 전 조회 1,693
12년 전 조회 1,325
12년 전 조회 576
12년 전 조회 550
12년 전 조회 2만
12년 전 조회 511
12년 전 조회 1,082
12년 전 조회 1,087
12년 전 조회 1,328
12년 전 조회 3,470
12년 전 조회 709
12년 전 조회 2,218
12년 전 조회 4,895
12년 전 조회 667
12년 전 조회 3,851
12년 전 조회 1,035
12년 전 조회 3,766
12년 전 조회 915
12년 전 조회 1,765
12년 전 조회 935
12년 전 조회 2,160
12년 전 조회 7,947
12년 전 조회 1,932
12년 전 조회 1,718
12년 전 조회 1,538
12년 전 조회 602
12년 전 조회 2,123
12년 전 조회 1,852
12년 전 조회 641
12년 전 조회 1,205
12년 전 조회 621
12년 전 조회 913
13년 전 조회 1,197
13년 전 조회 3,584
13년 전 조회 2,119
13년 전 조회 2,308
13년 전 조회 3,681
13년 전 조회 3,485
13년 전 조회 3,143
13년 전 조회 4,010
13년 전 조회 1,025
13년 전 조회 5,989
13년 전 조회 1,377
13년 전 조회 1,224
13년 전 조회 3,411
13년 전 조회 3,040
13년 전 조회 5,192
13년 전 조회 2,700
13년 전 조회 3,339
13년 전 조회 1,027
13년 전 조회 862
13년 전 조회 2,025
13년 전 조회 820
13년 전 조회 2,221
13년 전 조회 1,522
13년 전 조회 1,119
13년 전 조회 2,113
13년 전 조회 2,317
13년 전 조회 1,326
13년 전 조회 799
13년 전 조회 1,345
13년 전 조회 837
13년 전 조회 1,220
13년 전 조회 3,860
13년 전 조회 3,958
13년 전 조회 1,377
13년 전 조회 6,974
13년 전 조회 7,559
13년 전 조회 2,317
13년 전 조회 3,867
13년 전 조회 646
13년 전 조회 3,669
13년 전 조회 3,490
13년 전 조회 2,725
13년 전 조회 2,831
13년 전 조회 2,363
13년 전 조회 2,270
13년 전 조회 5,180
13년 전 조회 2,816
13년 전 조회 3,138
13년 전 조회 2,261
13년 전 조회 6,834
13년 전 조회 2,569
13년 전 조회 3,429
13년 전 조회 2,326
13년 전 조회 4,822
13년 전 조회 3,689
13년 전 조회 2,552
13년 전 조회 2,237
13년 전 조회 1,289
13년 전 조회 3,435
13년 전 조회 4,098
13년 전 조회 3,461
🐛 버그신고