버전은 BIND 9 이고
whois 에서 찾아본 도메인 서버는 ns.t***.org , ip 는 16*.***.***.70 입니다.
bind를 rpm으로 설치했고, 도메인 네임은 po***.k***.ac.kr , ip는 16*.***.***.70 입니다.
문제는 서브홈인 (~ rus**) 를 rus****.org 로 들어갈 수 있게 해야 하는데
도저히 방법을 모르겠습니다.
named.conf 설정은
------------------------------------------------
## named.conf - configuration for bind
#
# Generated automatically by bindconf, alchemist et al.
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
include "/etc/rndc.key";
options {
directory "/var/named/";
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "ns.t*****.org" {
type master;
file "ns.t*****.org.zone";
};
--------------------------------------------------------------------
ns.t*****.org.zone 부분은
----------------------------
$TTL 86400
@ IN SOA ns.t*****.org. root.po****.k****.ac.kr (
1 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS ns.t*****.org.
IN A 16*.***.***.70
IN HINFO "RedHat"
ns IN A 16*.***.***.70
russ** IN A 163.152.106.70
-------------------------------------------------------------------
httpd.conf
----------------------
<VirtualHost 163.152.106.70>#
ServerAdmin dddd at hanmail.net DocumentRoot /home/ru***/public_html
Servername ru****.org
ServerAlias *.ru****.org ru***.org
ErrorLog logs/ru****.org-error_log
CustomLog logs/ru******.org-access.log common
</VirtualHost>
--------------------------------------------------------------
이상 입니다.
이정도만 손보면 되는 것으로 책에서는 나와 있는데 맞나요?
제가 설정을 잘못한 부분은 없는가요?