caching-nameserver 구성하는데 좀 도와 주세요 .. ㅜ.ㅜ 계속 SERVFAIL이 뜨네요
caching-nameserver 사용해서 .. dns서버 구성하려는데.. VM웨어 에서요..;;
우선에..
/etc/hosts 내용이구요..
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.235.129 www.samadal.com samadal.com
/etc/resolv.conf
; generated by /sbin/dhclient-script
domain samadal.com
search samadal.com
nameserver 192.168.235.2
nameserver 192.168.235.129
nameserver 168.126.63.1
/etc/named.caching-nameserver.conf
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";
// Those options should be used carefully because they disable port
// randomization
query-source port 53;
query-source-v6 port 53;
allow-query { any; };
allow-query-cache { any; };
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
view localhost_resolver {
match-clients { any; };
match-destinations { any; };
recursion no;
include "/etc/named.rfc1912.zones";
};
/etc/named.rfc1912.zones 파일은 끝에
zone "samadal.com" IN {
type master;
file "samadal.com.zone";
allow-update { none; };
};
zone "235.168.192.in-addr.arpa" IN {
type master;
file "samadal.com.rev";
allow-update { none; };
};
이거 두개 추가 하고..
/var/named/chroot/var/named/samadal.com.zone
$TTL 86400
@ IN SOA www.samadal.com. root.samadal.com. (
2011081500 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS www.samadal.com.
IN A 192.168.235.129
www IN A 192.168.235.129
/var/named/chroot/var/named/samadal.com.rev
$TTL 86400
@ IN SOA www.samadal.com. root.samadal.com. (
2011081500 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS www.samadal.com.
IN A 192.168.235.129
129 IN PTR www.samadal.com.
이렇게 여섯개 파일 설정 되어 있는데요.. ㅜ.ㅜ
[root@www named]# nslookup
> server www.samadal.com
Default server: www.samadal.com
Address: 192.168.235.129#53
> www.samadal.com
Server: www.samadal.com
Address: 192.168.235.129#53
** server can't find www.samadal.com.samadal.com: SERVFAIL
>
이렇게 SERVFAIL이 뜨네요.. 이게 왜그런거죠..
KLDP 고수님 분들.. 제발 도와주세요 ㅜ.ㅜ...
댓글 달기