처음하는 거라서 엄청 어렵네요
네임서버 재시작 시키면 이런 ㅜ.ㅜ 에러가 떠요
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
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: NS '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' has no address records (A or AAAA)
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: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: NS '1.0.0.127.in-addr.arpa' has no address records (A or AAAA)
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: NS '0.in-addr.arpa' has no address records (A or AAAA)
zone 0.in-addr.arpa/IN: loaded serial 0
dns_rdata_fromtext: bu.zone:8: near eol: unexpected end of input
zone bugaeseo.es.kr/IN: loading from master file bu.zone failed: unexpected end of input
_default/bugaeseo.es.kr/IN: unexpected end of input
zone 51.114.211.in-addr.arpa/IN: loaded serial 20070509
name.conf 설정은
//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver 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.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
options {
listen-on port 53 { 127.0.0.1; };
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 { localhost; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
이상태고요
rfc1912.zone에서 zone랑 rev설정을 했거든요
options {
listen-on port 53 { 127.0.0.1; };
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 { localhost; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
// 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 "localhost.localdomain" IN {
type master;
file "named.localhost";
allow-update { none; };
};
zone "localhost" 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 "bugaeseo.es.kr" IN {
type master;
file "bu.zone";
};
zone "51.114.211.in-addr.arpa"{
type master;
file "bu.rev";
};
그리고 var/name 아래 zone랑 rev파일을 넣었습니다.
먼저 rev
$TTL 10
IN SOA ns.bugaeseo.es.kr. root.ns.bugaeseo.es.kr. (
2007050418;
10800 ;
3600 ;
3600000 ;
43200 ) ;
IN NS ns.bugaeseo.es.kr
235 IN PTR buageseo.es.kr
다음 zone
$TTL 10
IN SOA ns.bugaeseo.es.kr. root.ns.bugaeseo.es.kr. (
2007050418; serial
10800 ;
3600 ; retry
3600000 ; expire
43200 ) ; minimum
IN NS ns.bugaeseo.es.kr.
IN A 211.114.51.235
www IN A 211.114.51.235
이렇게 했지만 할때마다 ㅜ.ㅜ 맨위의 에러가 납니다 초보라서 아주 미치겠어요
ㅜ.ㅜ 부탁드립니다.
눈팅만으로는 답변글을 볼 수 없습니다. 로그인하셔야 합니다.