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

· 13년 전 · 1374
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,874
12년 전 조회 1,476
12년 전 조회 4,714
12년 전 조회 940
12년 전 조회 4,101
12년 전 조회 1,250
12년 전 조회 1,112
12년 전 조회 1,691
12년 전 조회 1,323
12년 전 조회 575
12년 전 조회 550
12년 전 조회 2만
12년 전 조회 510
12년 전 조회 1,080
12년 전 조회 1,086
12년 전 조회 1,327
12년 전 조회 3,470
12년 전 조회 708
12년 전 조회 2,216
12년 전 조회 4,894
12년 전 조회 667
12년 전 조회 3,851
12년 전 조회 1,034
12년 전 조회 3,765
12년 전 조회 915
12년 전 조회 1,765
12년 전 조회 934
12년 전 조회 2,158
12년 전 조회 7,947
12년 전 조회 1,931
12년 전 조회 1,718
12년 전 조회 1,537
12년 전 조회 599
12년 전 조회 2,123
12년 전 조회 1,851
12년 전 조회 639
12년 전 조회 1,203
12년 전 조회 621
12년 전 조회 913
12년 전 조회 1,196
13년 전 조회 3,583
13년 전 조회 2,118
13년 전 조회 2,307
13년 전 조회 3,679
13년 전 조회 3,485
13년 전 조회 3,142
13년 전 조회 4,010
13년 전 조회 1,025
13년 전 조회 5,988
13년 전 조회 1,375
13년 전 조회 1,224
13년 전 조회 3,408
13년 전 조회 3,039
13년 전 조회 5,191
13년 전 조회 2,699
13년 전 조회 3,337
13년 전 조회 1,027
13년 전 조회 860
13년 전 조회 2,025
13년 전 조회 819
13년 전 조회 2,219
13년 전 조회 1,520
13년 전 조회 1,118
13년 전 조회 2,111
13년 전 조회 2,317
13년 전 조회 1,324
13년 전 조회 797
13년 전 조회 1,344
13년 전 조회 837
13년 전 조회 1,219
13년 전 조회 3,858
13년 전 조회 3,956
13년 전 조회 1,376
13년 전 조회 6,974
13년 전 조회 7,559
13년 전 조회 2,314
13년 전 조회 3,867
13년 전 조회 645
13년 전 조회 3,668
13년 전 조회 3,490
13년 전 조회 2,725
13년 전 조회 2,828
13년 전 조회 2,362
13년 전 조회 2,270
13년 전 조회 5,179
13년 전 조회 2,815
13년 전 조회 3,137
13년 전 조회 2,260
13년 전 조회 6,833
13년 전 조회 2,567
13년 전 조회 3,428
13년 전 조회 2,324
13년 전 조회 4,819
13년 전 조회 3,688
13년 전 조회 2,551
13년 전 조회 2,236
13년 전 조회 1,289
13년 전 조회 3,432
13년 전 조회 4,095
13년 전 조회 3,459
🐛 버그신고