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; };
};
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7330 | 11년 전 | 1714 | ||
| 7329 | 11년 전 | 956 | ||
| 7328 | 11년 전 | 2252 | ||
| 7327 | 11년 전 | 1744 | ||
| 7326 | 11년 전 | 3843 | ||
| 7325 | 11년 전 | 2304 | ||
| 7324 | 11년 전 | 4543 | ||
| 7323 |
호식이와미돌
|
11년 전 | 1328 | |
| 7322 |
호식이와미돌
|
11년 전 | 1178 | |
| 7321 | 11년 전 | 1823 | ||
| 7320 | 11년 전 | 1795 | ||
| 7319 | 11년 전 | 1349 | ||
| 7318 |
|
11년 전 | 1006 | |
| 7317 |
멋진남자임
|
11년 전 | 1652 | |
| 7316 |
잘살아보자
|
11년 전 | 1019 | |
| 7315 | 11년 전 | 1148 | ||
| 7314 | 11년 전 | 1382 | ||
| 7313 |
잘살아보자
|
11년 전 | 1148 | |
| 7312 | 11년 전 | 913 | ||
| 7311 |
사랑한데이
|
11년 전 | 2109 | |
| 7310 |
잘살아보자
|
11년 전 | 1921 | |
| 7309 |
잘살아보자
|
11년 전 | 3084 | |
| 7308 |
잘살아보자
|
11년 전 | 1035 | |
| 7307 |
잘살아보자
|
11년 전 | 798 | |
| 7306 | 11년 전 | 899 | ||
| 7305 |
잘살아보자
|
11년 전 | 2779 | |
| 7304 | 11년 전 | 1065 | ||
| 7303 | 11년 전 | 1260 | ||
| 7302 | 11년 전 | 773 | ||
| 7301 | 11년 전 | 1555 | ||
| 7300 |
mijaya
|
11년 전 | 1527 | |
| 7299 | 11년 전 | 944 | ||
| 7298 | 11년 전 | 1125 | ||
| 7297 | 11년 전 | 805 | ||
| 7296 | 11년 전 | 767 | ||
| 7295 | 11년 전 | 1594 | ||
| 7294 | 11년 전 | 947 | ||
| 7293 | 11년 전 | 837 | ||
| 7292 | 11년 전 | 930 | ||
| 7291 |
잘살아보자
|
11년 전 | 1119 | |
| 7290 |
잘살아보자
|
11년 전 | 801 | |
| 7289 | 11년 전 | 837 | ||
| 7288 |
잘살아보자
|
11년 전 | 1373 | |
| 7287 | 11년 전 | 860 | ||
| 7286 |
잘살아보자
|
11년 전 | 1361 | |
| 7285 | 11년 전 | 856 | ||
| 7284 | 11년 전 | 1006 | ||
| 7283 | 11년 전 | 1033 | ||
| 7282 | 11년 전 | 794 | ||
| 7281 | 11년 전 | 839 | ||
| 7280 | 11년 전 | 1083 | ||
| 7279 | 11년 전 | 2006 | ||
| 7278 | 11년 전 | 836 | ||
| 7277 | 11년 전 | 849 | ||
| 7276 | 11년 전 | 782 | ||
| 7275 | 11년 전 | 1205 | ||
| 7274 | 11년 전 | 851 | ||
| 7273 | 11년 전 | 776 | ||
| 7272 | 11년 전 | 1095 | ||
| 7271 | 11년 전 | 1424 | ||
| 7270 | 11년 전 | 1054 | ||
| 7269 | 11년 전 | 988 | ||
| 7268 | 11년 전 | 1020 | ||
| 7267 | 11년 전 | 1871 | ||
| 7266 | 11년 전 | 937 | ||
| 7265 | 11년 전 | 981 | ||
| 7264 |
잘살아보자
|
11년 전 | 2741 | |
| 7263 |
잘살아보자
|
11년 전 | 2276 | |
| 7262 |
잘살아보자
|
11년 전 | 1158 | |
| 7261 |
잘살아보자
|
11년 전 | 1648 | |
| 7260 |
잘살아보자
|
11년 전 | 1270 | |
| 7259 | 11년 전 | 1188 | ||
| 7258 |
잘살아보자
|
11년 전 | 1315 | |
| 7257 |
잘살아보자
|
11년 전 | 1918 | |
| 7256 | 11년 전 | 967 | ||
| 7255 |
그누5입문
|
11년 전 | 1975 | |
| 7254 | 11년 전 | 2183 | ||
| 7253 |
|
11년 전 | 886 | |
| 7252 | 11년 전 | 1020 | ||
| 7251 | 11년 전 | 742 | ||
| 7250 | 11년 전 | 1712 | ||
| 7249 | 11년 전 | 1570 | ||
| 7248 |
sogo87
|
11년 전 | 1062 | |
| 7247 | 11년 전 | 963 | ||
| 7246 | 11년 전 | 731 | ||
| 7245 |
잘살아보자
|
11년 전 | 1103 | |
| 7244 | 11년 전 | 1552 | ||
| 7243 |
presee
|
11년 전 | 619 | |
| 7242 |
sogo87
|
11년 전 | 810 | |
| 7241 | 11년 전 | 930 | ||
| 7240 |
브라이언2
|
11년 전 | 938 | |
| 7239 |
|
11년 전 | 1151 | |
| 7238 | 11년 전 | 2646 | ||
| 7237 |
잘살아보자
|
11년 전 | 2287 | |
| 7236 |
dethos79
|
11년 전 | 1862 | |
| 7235 |
멋진남자임
|
11년 전 | 1422 | |
| 7234 | 11년 전 | 1362 | ||
| 7233 | 11년 전 | 2343 | ||
| 7232 | 11년 전 | 1623 | ||
| 7231 | 11년 전 | 2806 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기