파란을 셋팅했는데..
www.aaaa.co.kr aaaa.co.kr 이 웹,텔넷,ftp가 안됩니다.
근데 ns.aaaa.co.kr은 웹,텔넷,ftp가 모두 됩니다.
설정파일을 붙일께요 좀 봐주세요.
---------------------- 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 "." 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 "40.25.34.in-addr.arpa"{
type master;
file "zone-34";
};
zone "aaaa.co.kr"{
type master;
file "zone-aaaa";
};
key "key" {
algorithm hmac-md5;
secret "RaTh0HgPEDmSMrmzHHOWJhUul0BkYQLZlrcRdszxlYHoNxGR0KTIoVAsYtIK";
};
------------------------ zone-34 -------------------------
$TTL 86400
@ IN SOA ns.aaaa.co.kr. root.aaaa.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.aaaa.co.kr.
129 IN PTR www.aaaa.co.kr. 129 IN PTR aaaa.co.kr.
---------------- zone-aaaa --------------
$TTL 86400
@ IN SOA ns.aaaa.co.kr. root.aaaa.co.kr. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.aaaa.co.kr.
IN A 34.25.40.129
www IN A 34.25.40.129
------------------ httpd.conf 버츄얼 부분 ---------
<VirtualHost 34.25.40.129>
ServerName aaaa.co.kr
ServerAdmin webmaster at aaaa.co.kr ServerAlias *.aaaa.co.kr in2in.co.kr
DocumentRoot /home/aaaa/public_html
ErrorLog logs/aaaa.co.kr-error_log
CustomLog logs/aaaa.co.kr-access_log common
</VirtualHost>