학교에서 홈페이지를 관리하는 홈관리자입니다.
홈페이지 서버에 이상에 생겨 서버를 새로 설치했습니다. 레드햇 리눅스 7.2를 깔았구요,
예전에 쓰던 설정파일을 그대로 썼습니다. 학교 DNS 서버의 주소는 210.178.163.4이고요, 이 번
호로 등록된 domain name는 kmg.hs.kr입니다. 이 컴퓨터의 host name는 ns.kmg.hs.kr입니다.
홈페이지에 접속할 때, kmg.hs.kr로 접속이 되게 하고 싶은데 접속이 안되고 있습니다.
그런데 ns.kmg.hs.kr로 접속을 하면 접속이 됩니다. 해결방법좀 알려 주세요.
참고로 설정 파일을 같이 올립니다. 이 설정파일들은 전에 제대로 작동된 것인것으로 알고
있습니다. 꼭 좀 부탁드립니다. named.conf의 내용
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
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 "kmg.hs.kr" IN {
type master;
file "kmg.hs.kr.zone";
allow-update { none; };
};
zone "163.178.210.in-addr.arpa" IN {
type master;
file "163.178.210.in-addr.arpa.zone";
allow-update { none; };
};
include "/etc/rndc.key";
kmg.hs.kr.zone 의 내용
@ IN SOA ns.kmg.hs.kr. root.kmg.hs.kr. (
2001042001 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
@ IN NS ns.kmg.hs.kr.
@ IN MX 10 ns.kmg.hs.kr.
@ IN A 210.178.163.4
IN HINFO "Intel Pemtium""Alzza Linux"
IN TXT "kwangmyong girls high school"
;IP Domain Mapping Here
ns IN A 210.178.163.4
router IN A 210.178.163.1
impp IN A 210.178.163.4
www IN CNAME @
ftp IN CNAME @
proxy IN CNAME @
163.178.210.in-addr.arpa.zone의 내용
@ IN SOA ns.kmg.hs.kr. root.kmg.hs.kr. (
2001042001 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
@ IN NS ns.kmg.hs.kr.
;IP Domain Mapping Here
4 IN PTR ns.kmg.hs.kr.
4 IN A impp.kmg.hs.kr.
1 IN PTR router.kmg.hs.kr.