새로 centos5를 깔고 있는데요...
caching-nameserver는 소스설치(컴파일) 하느라
# yum remove -y httpd php mysql 하면서 자동 삭제 되어서 ...
# yum install caching-nameserver 해서 설치는 했는데...
#tail /var/named/data/named.run 하려고 보니.....
1. data 안에 named.run 이 존재 하질 않는데 ... 어떻게 해야 하나요?
현재 named 는 잘 돌아갑니다.
/var/named/chroot/var/named/data/named.run 은 있네요...
위와 같은 에러가 뜨는데....
2. 아래에는
슬러시가 두개인데 혹시 이거 때문에 그런거는 아닌지?
아래에처럼 /var/named/chroot//var/named 에 도메인 존과 리버스가 존재 하는
거 맞는지요?
# cd /var/named/chroot//var/named <=========== //
# ls
data localhost.zone named.ca named.local abc.co.kr.rev slaves
localdomain.zone named.broadcast named.ip6.local named.zero abc.co.kr.zone
# /var/named (named.conf 가 없는게 정상인지 알고 싶습니다,)
# ls -al
drwxr-x--- 5 root named 4096 Jan 15 02:54 .
drwxr-xr-x 25 root root 4096 Jan 14 16:53 ..
drwxr-x--- 6 root named 4096 Jan 14 22:43 chroot
drwxrwx--- 2 named named 4096 Nov 11 00:22 data
lrwxrwxrwx 1 root named 45 Jan 14 22:41 localdomain.zone -> /var/named/chroot//var/named/localdomain.zone
lrwxrwxrwx 1 root named 43 Jan 14 22:41 localhost.zone -> /var/named/chroot//var/named/localhost.zone
lrwxrwxrwx 1 root named 44 Jan 14 22:41 named.broadcast -> /var/named/chroot//var/named/named.broadcast
lrwxrwxrwx 1 root named 37 Jan 14 22:41 named.ca -> /var/named/chroot//var/named/named.ca
lrwxrwxrwx 1 root named 44 Jan 14 22:41 named.ip6.local -> /var/named/chroot//var/named/named.ip6.local
lrwxrwxrwx 1 root named 40 Jan 14 22:41 named.local -> /var/named/chroot//var/named/named.local
lrwxrwxrwx 1 root named 39 Jan 14 22:41 named.zero -> /var/named/chroot//var/named/named.zero
drwxrwx--- 2 named named 4096 Nov 11 00:22 slaves
3. 네임서버 관련 질문 ?
아래와 같이 오류가 나는데 어떻게 해야 할지....
ip는 보안상 바꿨습니다..
# nslookup 111.112.113.14 localhost
Server: localhost
Address: 127.0.0.1#53
** server can't find 14.113.112.111.in-addr.arpa: SERVFAIL
# nslookup abc.co.kr
;; connection timed out; no servers could be reached
# abc.co.kr.rev
$TTL 600
@ IN SOA ns.abc.co.kr. root.abc.co.kr. (
2008011500 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.abc.co.kr.
11 IN PTR ns
11 IN PTR www
# abc.kr.zone
$TTL 600
@ IN SOA ns.abc.co.kr. root.abc.co.kr. (
2008011500 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expire
1D ) ; minimum
IN NS ns.abc.co.kr
IN MX 10 mail.abc.co.kr
IN A 111.112.113.14
www IN A 111.112.113.14
* IN A 111.112.113.14
# /etc/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
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "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.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "113.112.111.in-addr.arpa" IN {
type master;
file "abc.co.kr.rev";
allow-update { none; };
};
zone "abc.co.kr" IN {
type master;
file "abc.co.kr.zone";
allow-update { none; };
};
눈팅만으로는 답변글을 볼 수 없습니다. 로그인하셔야 합니다.