아피가 하나인면.... 존파일 하나만 쓰세요.
named.conf 에서 존 파일 하나만 잡으시면 됩니다.
아래를 보면서.....ㅎㅎ
: 네임서버 정말 모르겠습니다.
: 제가 도메인을 세개 관리하는데
: 하나만 잘돌아가고 나머진 먹통입니다.
: 일단 도메인 은
: ohmycast.net
: ohmystory.net
: phpdb.net
: 세개인데요
: www.ohmycast.net : 하면 잘되는데 www빼면안되요.
: 나머진 두개 안되구요.
: 도메인 몇처음 신청할때 네임서버를 ns.ohmycast.net으로 해줬거든요?
: ns.ohmycast.net은 네임서버 생성하는데서 해줬구요.
: 근데 다른거 네임서버 생성하려니 안되더군요. 아이피를 하나씩 먹어서 그런가요?
: 현재 ns.ohmycast.net 은203.246.2.253에 할당되어있고
: ns.ohmystory.net 은 58에 네임서버가 생성되더군요
: 이 두아이피를 써버리면 딴곳은 생성이 안되나요?
: ns.phpdb.net을 생성하려고 253을 쓰려니 생성이 안되던데...
: 203.246.2.253이 네임서버거든요?
: 어떻게 해야될지 모르겠어요ㅠ.ㅠ
: 고수님들의 해답 바랍니다..
: 마지막 보루입니다.ㅠ.ㅠ
: ohmycast.net 설정존 파일내용입니다.
:
: @ IN SOA www.ohmycast.net. hyk071.ohmycast.net. (
: 2000111001 ; serial
: 3600 ; refresh
: 900 ; retry
: 1209600 ; expire
: 43200 ; default_ttl
: )
: ohmycast.net. IN NS ns.ohmycast.net.
: @ IN MX 5 ohmycast.net.
: www IN A 203.246.2.253
:
: 그리고 ohmystory.net 존 파일...
: @ IN SOA www.ohmystory.net. hyk071.hanmail.net. (
: 2000111701 ; serial
: 3600 ; refresh
: 900 ; retry
: 1209600 ; expire
: 43200 ; default_ttl
: )
: @ IN MX 5 ohmystory.net.
: ohmystory.net. IN NS ns.ohmystory.net.
: www IN A 203.246.2.253
: phpdb.net 존파일....
: @ IN SOA www.phpdb.net. sjh94.phpdb.net. (
: 2000111701 ; serial
: 3600 ; refresh
: 900 ; retry
: 1209600 ; expire
: 43200 ; default_ttl
: )
: phpdb.net. IN NS ns.unicos.net.
: @ IN MX phpdb.net.
: www IN A 203.246.2.253
: ns.unicos.net은 제가 도메인 신청한데서 주는 네임서버입니다.
: 그리고 named.conf 파일 내용.....
:
: options {
: directory "/var/named";
: forwarders{
: };
: };
: zone "." {
: type hint;
: file "named.ca";
: };
: zone "ohmycast.net"{
: type master;
: file "ohmycast.net";
여기서요. 나머지 도메인도 똑같이 하면됩니다....밑에것은 하시지 마시고용
zone "ohmstory.net"{
type master;
file "ohmycast.net";
이런식으로 하시면 됩니다. 존 파일을 각각 만들어도 되는데요. 에러가 나는경우도 있습니
ㅏㄷ. 존파일 각각 만드는 경우는 2 차 네임서버에서 사용하면 좋아여~~~~
그럼...... 아.....다음질문은 메일이 될거같네요....저랑 비슷한 경우라서리..
그럼 수고하세요
zone "0.0.127.IN-ADDR.ARPA"{
: type master;
: file "127.0.0";
: };
: zone "2.246.203.IN-ADDR.ARPA"{
: type master;
: file "203.246.2";
: };
: 고수님들 부탁합니다..ㅠ.ㅠ
: 글고 아파치의 버쳘 호스팅으로 합니다. 이름기반..
: 그내용....
: <VirtualHost 203.246.2.253>
: ServerAdmin hyk071 at ohmycast.net : DocumentRoot /www
: ServerName www.ohmycast.net : ErrorLog logs/ohmycast.net-error_log
: CustomLog logs/ohmycast.net-access_log common
: </VirtualHost>
: <VirtualHost 203.246.2.253>
: ServerAdmin hyk071 at ohmystory.net : DocumentRoot /home/story/www
: ServerName www.ohmystory.net : ServerAlias ohmystory.net
: ErrorLog logs/ohmystory.net-error_log
: CustomLog logs/ohmystory.net-access_log common
: </VirtualHost>
: <VirtualHost 203.246.2.253>
: ServerAdmin sjh94 at phpdb.net : DocumentRoot /home/phpdb/www
: ServerName www.phpdb.net : ServerAlias phpdb.net
: ErrorLog logs/phpdb.net-error_log
: CustomLog logs/phpdb.net-access_log common
: </VirtualHost>
: 부탁드림....
:
: --
: 무슨 서명?--이 곳에 서명을 적어주십시오.
열심히...