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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6630 |
차가운바람
|
12년 전 | 1160 | |
| 6629 | 12년 전 | 1155 | ||
| 6628 |
put777
|
12년 전 | 642 | |
| 6627 |
|
12년 전 | 695 | |
| 6626 | 12년 전 | 1616 | ||
| 6625 |
|
12년 전 | 716 | |
| 6624 |
미켈란젤로의왼손
|
12년 전 | 479 | |
| 6623 |
|
12년 전 | 1042 | |
| 6622 | 12년 전 | 1379 | ||
| 6621 |
차가운바람
|
12년 전 | 630 | |
| 6620 | 12년 전 | 731 | ||
| 6619 |
|
12년 전 | 968 | |
| 6618 | 12년 전 | 1741 | ||
| 6617 | 12년 전 | 638 | ||
| 6616 |
차가운바람
|
12년 전 | 890 | |
| 6615 | 12년 전 | 2853 | ||
| 6614 | 12년 전 | 613 | ||
| 6613 |
강명구베드로
|
12년 전 | 527 | |
| 6612 |
|
12년 전 | 424 | |
| 6611 | 12년 전 | 1204 | ||
| 6610 | 12년 전 | 1019 | ||
| 6609 | 12년 전 | 3679 | ||
| 6608 |
|
12년 전 | 829 | |
| 6607 | 12년 전 | 692 | ||
| 6606 | 12년 전 | 565 | ||
| 6605 | 12년 전 | 453 | ||
| 6604 | 12년 전 | 971 | ||
| 6603 |
geektoo
|
12년 전 | 693 | |
| 6602 | 12년 전 | 835 | ||
| 6601 | 12년 전 | 358 | ||
| 6600 | 12년 전 | 401 | ||
| 6599 | 12년 전 | 537 | ||
| 6598 | 12년 전 | 935 | ||
| 6597 | 12년 전 | 930 | ||
| 6596 | 12년 전 | 414 | ||
| 6595 | 12년 전 | 785 | ||
| 6594 | 12년 전 | 4576 | ||
| 6593 | 12년 전 | 2579 | ||
| 6592 | 12년 전 | 826 | ||
| 6591 | 12년 전 | 584 | ||
| 6590 |
|
12년 전 | 1388 | |
| 6589 | 12년 전 | 758 | ||
| 6588 |
GINUSSOFT
|
12년 전 | 5125 | |
| 6587 | 12년 전 | 6209 | ||
| 6586 | 12년 전 | 1043 | ||
| 6585 | 12년 전 | 802 | ||
| 6584 | 12년 전 | 458 | ||
| 6583 |
|
12년 전 | 983 | |
| 6582 | 12년 전 | 871 | ||
| 6581 | 12년 전 | 839 | ||
| 6580 | 12년 전 | 617 | ||
| 6579 |
알랑가몰라
|
12년 전 | 920 | |
| 6578 | 12년 전 | 1328 | ||
| 6577 | 12년 전 | 1500 | ||
| 6576 |
경dragon
|
12년 전 | 768 | |
| 6575 | 12년 전 | 1880 | ||
| 6574 | 12년 전 | 681 | ||
| 6573 | 12년 전 | 978 | ||
| 6572 |
|
12년 전 | 1664 | |
| 6571 |
CTOMAN
|
12년 전 | 1953 | |
| 6570 | 12년 전 | 1728 | ||
| 6569 | 12년 전 | 1884 | ||
| 6568 | 12년 전 | 2403 | ||
| 6567 | 12년 전 | 1030 | ||
| 6566 |
lainfox
|
12년 전 | 1528 | |
| 6565 | 12년 전 | 3653 | ||
| 6564 |
제주프라이스
|
12년 전 | 1532 | |
| 6563 | 12년 전 | 1574 | ||
| 6562 |
프로프리랜서
|
12년 전 | 1345 | |
| 6561 |
프로프리랜서
|
12년 전 | 964 | |
| 6560 |
프로프리랜서
|
12년 전 | 1218 | |
| 6559 |
프로프리랜서
|
12년 전 | 1135 | |
| 6558 |
프로프리랜서
|
12년 전 | 1351 | |
| 6557 |
프로프리랜서
|
12년 전 | 1971 | |
| 6556 |
프로프리랜서
|
12년 전 | 1520 | |
| 6555 |
프로프리랜서
|
12년 전 | 1361 | |
| 6554 |
프로프리랜서
|
12년 전 | 3887 | |
| 6553 |
프로프리랜서
|
12년 전 | 1506 | |
| 6552 | 12년 전 | 841 | ||
| 6551 |
왕초보sasa
|
12년 전 | 1534 | |
| 6550 |
왕초보sasa
|
12년 전 | 628 | |
| 6549 |
왕초보sasa
|
12년 전 | 902 | |
| 6548 | 12년 전 | 1300 | ||
| 6547 | 12년 전 | 1187 | ||
| 6546 | 12년 전 | 5156 | ||
| 6545 | 12년 전 | 2514 | ||
| 6544 |
AnnieK
|
12년 전 | 1777 | |
| 6543 |
베르무트7
|
12년 전 | 625 | |
| 6542 |
오늘도망했다
|
12년 전 | 2232 | |
| 6541 | 12년 전 | 819 | ||
| 6540 | 12년 전 | 1133 | ||
| 6539 | 12년 전 | 847 | ||
| 6538 |
senseme
|
12년 전 | 3369 | |
| 6537 | 12년 전 | 779 | ||
| 6536 | 12년 전 | 3666 | ||
| 6535 | 12년 전 | 1348 | ||
| 6534 | 12년 전 | 1624 | ||
| 6533 | 12년 전 | 2242 | ||
| 6532 |
냐옹이사범
|
12년 전 | 2305 | |
| 6531 | 12년 전 | 568 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기