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; };
};
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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7430 |
|
11년 전 | 4955 | |
| 7429 | 11년 전 | 1785 | ||
| 7428 |
멋진남자임
|
11년 전 | 1176 | |
| 7427 |
sdflksdj2
|
11년 전 | 836 | |
| 7426 | 11년 전 | 1373 | ||
| 7425 | 11년 전 | 1401 | ||
| 7424 | 11년 전 | 1064 | ||
| 7423 |
SeungYeon
|
11년 전 | 575 | |
| 7422 | 11년 전 | 820 | ||
| 7421 |
sdflksdj2
|
11년 전 | 700 | |
| 7420 | 11년 전 | 982 | ||
| 7419 |
|
11년 전 | 1416 | |
| 7418 |
멋진남자임
|
11년 전 | 1448 | |
| 7417 | 11년 전 | 618 | ||
| 7416 |
senseme
|
11년 전 | 1245 | |
| 7415 | 11년 전 | 973 | ||
| 7414 | 11년 전 | 723 | ||
| 7413 | 11년 전 | 4856 | ||
| 7412 | 11년 전 | 4412 | ||
| 7411 |
holla
|
11년 전 | 905 | |
| 7410 | 11년 전 | 4263 | ||
| 7409 | 11년 전 | 3936 | ||
| 7408 | 11년 전 | 4279 | ||
| 7407 | 11년 전 | 5103 | ||
| 7406 | 11년 전 | 4744 | ||
| 7405 | 11년 전 | 4313 | ||
| 7404 | 11년 전 | 772 | ||
| 7403 | 11년 전 | 5698 | ||
| 7402 | 11년 전 | 1533 | ||
| 7401 |
|
11년 전 | 987 | |
| 7400 | 11년 전 | 2983 | ||
| 7399 |
멋진남자임
|
11년 전 | 934 | |
| 7398 |
파랑새1597
|
11년 전 | 2726 | |
| 7397 | 11년 전 | 2288 | ||
| 7396 |
basketball
|
11년 전 | 1385 | |
| 7395 | 11년 전 | 1629 | ||
| 7394 | 11년 전 | 945 | ||
| 7393 | 11년 전 | 2087 | ||
| 7392 | 11년 전 | 862 | ||
| 7391 |
잘살아보자
|
11년 전 | 5377 | |
| 7390 |
잘살아보자
|
11년 전 | 2237 | |
| 7389 |
잘살아보자
|
11년 전 | 3329 | |
| 7388 |
파랑새1597
|
11년 전 | 946 | |
| 7387 | 11년 전 | 1113 | ||
| 7386 |
프리랜서퍼블리셔
|
11년 전 | 980 | |
| 7385 | 11년 전 | 1586 | ||
| 7384 |
울라라라우
|
11년 전 | 901 | |
| 7383 | 11년 전 | 1571 | ||
| 7382 |
잘살아보자
|
11년 전 | 4240 | |
| 7381 |
잘살아보자
|
11년 전 | 2014 | |
| 7380 |
잘살아보자
|
11년 전 | 1958 | |
| 7379 |
잘살아보자
|
11년 전 | 5918 | |
| 7378 |
senseme
|
11년 전 | 1915 | |
| 7377 |
잘살아보자
|
11년 전 | 2758 | |
| 7376 | 11년 전 | 2426 | ||
| 7375 |
잘살아보자
|
11년 전 | 1063 | |
| 7374 |
잘살아보자
|
11년 전 | 3172 | |
| 7373 |
잘살아보자
|
11년 전 | 2496 | |
| 7372 |
잘살아보자
|
11년 전 | 5842 | |
| 7371 |
잘살아보자
|
11년 전 | 3475 | |
| 7370 |
잘살아보자
|
11년 전 | 1925 | |
| 7369 |
잘살아보자
|
11년 전 | 2182 | |
| 7368 |
ksdhtm56
|
11년 전 | 578 | |
| 7367 | 11년 전 | 1450 | ||
| 7366 | 11년 전 | 941 | ||
| 7365 | 11년 전 | 3562 | ||
| 7364 |
잘살아보자
|
11년 전 | 1409 | |
| 7363 |
잘살아보자
|
11년 전 | 1391 | |
| 7362 |
잘살아보자
|
11년 전 | 1526 | |
| 7361 | 11년 전 | 3617 | ||
| 7360 | 11년 전 | 3577 | ||
| 7359 | 11년 전 | 3394 | ||
| 7358 |
멋진남자임
|
11년 전 | 1051 | |
| 7357 | 11년 전 | 3427 | ||
| 7356 | 11년 전 | 2613 | ||
| 7355 | 11년 전 | 3210 | ||
| 7354 |
파랑새1597
|
11년 전 | 661 | |
| 7353 |
잘살아보자
|
11년 전 | 2435 | |
| 7352 |
잘살아보자
|
11년 전 | 2430 | |
| 7351 |
잘살아보자
|
11년 전 | 2488 | |
| 7350 |
잘살아보자
|
11년 전 | 1492 | |
| 7349 |
잘살아보자
|
11년 전 | 1978 | |
| 7348 |
잘살아보자
|
11년 전 | 1300 | |
| 7347 |
잘살아보자
|
11년 전 | 1094 | |
| 7346 |
멋진남자임
|
11년 전 | 1664 | |
| 7345 | 11년 전 | 1014 | ||
| 7344 | 11년 전 | 3889 | ||
| 7343 | 11년 전 | 3676 | ||
| 7342 | 11년 전 | 1299 | ||
| 7341 | 11년 전 | 2540 | ||
| 7340 |
|
11년 전 | 951 | |
| 7339 | 11년 전 | 1746 | ||
| 7338 | 11년 전 | 3363 | ||
| 7337 | 11년 전 | 3681 | ||
| 7336 | 11년 전 | 4616 | ||
| 7335 | 11년 전 | 992 | ||
| 7334 | 11년 전 | 1548 | ||
| 7333 | 11년 전 | 2954 | ||
| 7332 |
|
11년 전 | 1126 | |
| 7331 |
KeePin뽁이
|
11년 전 | 1112 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기