여기저기 보면서 dns를 설정 하고 있는데 몇가지 문제점이 있습니다.
서버에서 www.xxxx.com 을 치면 되는데.. ping도 됩니다.
다른 컴터로 하면 안됩니다.
nslookup www.xxxx.com 을 치면
server: 202.**.***.240
address: 202.**.***.240#53
**server can't find www.xxxx.com. :SERVERFAIL
이런식으로 나오구여...
마찬가지로
nslookup 202.**.***.240 을 치면
server: 202.**.***.240
address: 202.**.***.240#53
**server can't find 240.***.**.202.in-arpa.: SERVERFAIL
이런식으로 나온담니다... ㅜㅜ
문제점이 먼지 고수님들 가르침 부탁 드립니다.
아래 제가 설정한 파일을...
========================================>named.conf
#
# Generated automatically by bindconf, alchemist et al.
options {
directory "/var/named/";
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "xxxx.com" {
type master;
file "xxxx.zone";
};
zone "101.30.202.in-addr.arpa" {
type master;
file "named.rev";
};
====================================/var/named.local
@ IN SOA xxxx.com. pionara.xxxx.com.
(
2000110202 ; serial
21600 ; refresh
1800 ; retry
1209600 ; expire
86400 ; default_ttl
)
IN NS ns.xxxx.com.
1 IN PTR localhost.
======================================>/var/named.rev
@ IN SOA ns.xxxx.com. pionara.xxxx.com.
(
2000110202 ;serial
21600 ;refresh
1800 ;retry
1209600 ;expire
86400 ;default_ttl
)
IN NS ns.xxxx.com.
1 IN PTR ns.xxxx.com.
========================================> /var/xxxx.zone
@ IN SOA ns.xxxx.com. pionara.xxxx.com.
(
2000110202 ;serial
21600 ;refresh
1800 ;retry
1209600 ;expire
86400 ;default_ttl
)
IN NS ns.xxxx.com.
IN A 202.xx.xxx.240
localhost IN A 127.0.0.1
ns IN A 202.**.***.240
www IN A 202.**.***.240
ftp IN CNAME @