안녕하세요..
레드햇 리눅스 6.2k를 쓰고 있습니다..
그런데.
네임서버 셋팅 아파치 셋팅을 했건만 네임서버에 존재하는 도메인만돼구
나머지 도메인(가상도메인)들은 않 붙더라구요..
쩝 왜 그런지 도무지 모르겠습니다. 음냐냐..
named.conf 화일입니다.
// generated by named-bootconf.pl
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
//
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
zone "asbinder.net"{
type master;
file "bbb.net.zone";
};
zone "aa.co.kr"{
type master;
file "aa.co.kr.zone";
};
zone "104.19.211.in-addr.arpa"{
type master;
file "bbb.net.rev;
}
httpd.conf버추얼 호스트 부분
NameVirtualHost 211.104.19.xxx
<VirtualHost 211.104.19.xxx>
ServerAdmin hostmaster at bbb.net DocumentRoot /home/bbb.net/public_html
ServerName bbb.net
ServerAlias *.bbb.net bbb.net
ErrorLog logs/bbb.net-error_log
CustomLog logs/bbb.net-access_log common
</VirtualHost>
<VirtualHost 211.104.19.xxx>
ServerAdmin hostmaster at bbb.net DocumentRoot /home/aa.co.kr/public_html
ServerName aa.co.kr
ServerAlias *.aa.co.kr aa.co.kr
ErrorLog logs/aa.co.kr-error_log
CustomLog logs/aa.co.kr-access_log common
</VirtualHost>
bbb.net.rev파일
@ IN SOA bbb.net. root.bbbb.net. (
2000091900 ;serial
21600 ;refresh
1800 ;retry
1209600 ;expire
86400 ;default_ttl
)
@ IN NS bbb.net.
bbb.net.zone 파일
@ IN SOA bbb.net. root.bbb.net. (
2000092300 ;serial
28800 ;refresh
14400 ;retry
3600000 ;expire
86400 ;defult_ttl
)
IN NS bbb.net.
IN A 211.104.19.xxx
localhost IN A 127.0.0.1
www IN A 211.104.19.xxx
ns IN A 211.104.19.xxx
mail IN A 211.104.19.xxx
ftp IN CNAME www
IN MX 10 mail.bbb.net.
aa.co.kr.zone 파일
@ IN SOA aa.co.kr. root.bbb.net. (
2000092300 ;serial
28800 ;refresh
14400 ;retry
3600000 ;expire
86400 ;defult_ttl
)
IN NS aa.co.kr.
IN A 211.104.19.xxx
www IN A 211.104.19.xxx
mail IN A 211.104.19.xxx
ftp IN CNAME www
IN MX 10 mail.aa.co.kr.
여기 까지 입니다.. 제생각으로는 전혀 틀린 부분이 없다구 생각하거든요.
named 데몬 도 띄워주고 프로세서를 다 죽이고 살리고 몇번을해도
마찬가지 입니다..
bbb.net은 돼는데..
aa.co.kr은 돼질 않습니다.
음.. 고수님들 제발 알려주세요..--bobtingi