DNS 설정의 어디가 잘못 됐는지 모르겠습니다.
이것 저것 참고 자료를 봤지만 잘 안풀리고 있습니다.
결국 또 고수님들의 도움을 요청합니다.
nslookup 으로 확인 하려니까 이런 메시지가 나옵니다.
*** Can't find server name for address 211.172.xxx.xxx: No response
from server
*** Default servers are not available
/etc/named.boot
; a caching only nameserver config
;
directory /var/named
cache . named.ca
primary 0.0.127.in-addr.arpa named.local
primary xxx.172.211.in-addr.arpa ip.zone
primary lontop.com lontop-com.zone
/var/log/named.conf
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa"{
type master;
file "named.local";
};
zone "xxx.172.211.in-addr.arpa"{
type master;
file "ip.zone";
};
zone "lontop.com"{
type master;
file "lontop-com.zone";
};
/var/log/lontop-com.zone
@ IN SOA ns.lontop.com. root.lontop.com.
(
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ; ttl
)
IN NS ns.lontop.com.
ns IN A 211.172.xxx.xxx
IN HINFO "x86 Pentium" "Alzza Linux"
IN MX 10 mail.lontop.com.
www IN CNAME ns
ftp IN CNAME ns
mail IN CNAME ns
/var/log/named.local
@ IN SOA ns.lontop.com. root.ns.lontop.com. (
1997022700 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
@ IN NS ns.lontop.com.
1 IN PTR localhost.
/var/log/ip.zone
@ IN SOA ns.lontop.com. root.ns.lontop.com.
(
1997022700 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS ns.lontop.com.
xxx IN PTR ns.lontop.com.
--
초보 리눅서 TopMage