: 제가 son.com 이라는 도메인을 가지고 있습니다.
:
: ns.son.com 을 네임서버로 등록하였습니다.
: 그리고 son.com 을 111.222.333.444 라는 ip에 서버를 설치하고 네임서버를
: 같이 설치 하였습니다.
: 그리고, son.com 의 네임 서버를 ns.son.com 으로 설정하고요...
:
: 근데 문제는...ns.son.com 을 쳐야만 도메인을 찾네요... =_=;;
:
: 일단 ns.son.com 을 쳤을때 제대로된 아이피가 나오는걸로 봐서 네임서버가
: 작동하기는 하는거 같은데... 뭐가 문젠지 모르겠군요...
: 여기 저기 인터넷을 떠돌며 자료를 찾아 헤멘지도 언 3일째가 되어 가는군
: 요... =_=;;
:
: 사용한 서버는 와우리눅스 파란 입니다.
: 네임서버랑 기타 전부 그냥 cd 에 포함된걸로 기본설치를 했습니다.
:
: 이게 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 "www.son.co.kr" IN {
: type master;
: file "son.db";
: allow-transfer { none; };
: };
:
: zone "son.co.kr" IN {
: type master;
: file "son.db";
: allow-transfer { none; };
: };
:
: zone "www.son.com" IN {
: type master;
: file "son.db";
: allow-transfer { none; };
: };
:
: zone "son.com" IN {
: type master;
: file "son.db";
: allow-transfer { none; };
: };
:
: zone "333.222.111.in-addr.arpa" IN {
: type master;
: file "son.rev";
: allow-transfer { none; };
: };
:
: key "key" {
: algorithm hmac-md5;
:
: secret "xzbhLaqQeMzUaisJxzWjoWqTtbvRKuxEvUvpYADYUOmiiYyjdMBnlLIrqiPC";
: };
: ----------------------------------------------------------
:
: 이게 son.db 파일입니다.
: ---------------------------------------------------------
: @ IN SOA ns.son.com. root.son.com.
: (
: 2001022000 ;Serial
: 10800 ;Refresh
: 3600 ;Retry
: 3600000 ;Expire
: 43200 ;Minimum
: )
: IN NS ns.son.com.
: IN A 111.222.333.444
: IN HINFO "Interm Pentimun " "Linux"
: IN MX 10 son.com.
:
:
: localhost IN A 127.0.0.1
: ns IN A 111.222.333.444
: mail IN A 111.222.333.444
: shark IN A 111.222.333.444
: www IN A 111.222.333.444
:
: gateway IN A 111.222.333.254
:
: son.com IN A 111.222.333.444
: www.son.com IN A 111.222.333.444
: ------------------------------------------------------------
:
:
: 이게 son.rev 파일이고여....
: ---------------------------------------------------------
: @ IN SOA ns.son.com. root.son.com.
: (
: 2001022000 ;serial
: 900 ;refresh
: 300 ;retry
: 604800 ;expiry
: 86400 ;minimum
: )
:
: IN NS ns.son.com.
:
: 54 IN PTR ns.son.com.
: -----------------------------------------------------------
:
: 뭔가 잘못 설정된게 있다면 좀 알려 주시겠습니까? ^_^
:
: 여러 고수분들의 도움을 구합니다....
:
: --
: 이 곳에 서명을 적어주십시오.
: 서명
ip = > 111.222.333.444
name.conf
zone "333.222.111.in-addr.arpa" IN {
type master;
file "zone-333.222.111.in-addr.arpa";
};
zone "son.co.kr" IN {
type master;
file "son.zone";
allow-update { none; };
};
son.zone
$TTL 43200
$ORIGIN son.co.kr.
@ IN SOA ns.son.co.kr. root.son.co.kr.(
20011124 ;serial
10800 ;refresh
3600 ;retry
3600000 ;expire
43200) ;minumum
IN NS ns.son.co.kr
IN A 111.222.333.444
IN MX 10 mail.son.co.kr.
localhost IN A 127.0.0.1
web IN A 111.222.333.444
www IN A 111.222.333.444
ftp IN A 111.222.333.444
mail IN A 111.222.333.444
son.rev
$TTL
$ORIGIN son.co.kr.
@ IN SOA ns.son.co.kr root.son.co.kr.(
20011124 ;serial
10800 ;refresh
3600 ;retry
3600000 ;expire
43200) ;minumum
IN NS ns.son.co.kr.
444 IN PTR ns.co.kr.
444 IN PTR www.son.co.kr. 444 IN MX 10 mail.son.co.kr.
수정부분은 고치세요 ^^