ip : 주소 -> 111.111.111.20 (예로 설명 )
도메인 : linux.co.kr ( 예로 설명 )
1차 dns은 : ns.linux.co.kr
2차 dns은 호스팅 업체 : ns1.tty.co.kr 으로 가정했습니다..ㅠ.ㅠ
모든 소스 올립니다..제발 도와주세요..
호스팅 업체의 dns가 1차라서 그러나...흑흑...잘 모르겠어요..
--------------------hosts
127.0.0.1 localhost.localdomain localhost
111.111.111.20 sh.linux.co.kr sh
-----------------named.boot
;
; a caching only nameserver config
;
directory /var/named
cache . named.ca
primary linux.co.kr linux.zone
primary 0.0.127.in-addr.arpa named.local
primary 111.111.111.in-addr.arpa linux.rev
-----------------named.conf
options {
directory "/var/named";
query-source address * port 53;
};
zone"." IN {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};
zone "linux.co.kr" IN {
type master;
file "linux.zone";
};
zone "1111.111.111.in.addr-arpa" IN {
type master;
file "linux.rev";
};
--------------named.local
@ IN SOA ns.linux.co.kr root.linux.co.kr. (
1997022700 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
;
;in.addr-arpa
;
IN NS localhost.
1 IN PTR localhost.
-------------linux.rev
@ IN SOA ns.linux.co.kr. root.linux.co.kr. (
1997022700 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS ns.linux.co.kr.
20 IN PTR linux.co.kr.
---------------linux.zon
@ IN SOA ns.linux.co.kr. root.linux.co.kr. (
1997022700 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
IN NS ns.linux.co.kr.
IN A 111.111.111.20
IN MX 10 linux.co.kr.
IN HINFO "ALZZA LINUX60"
linux.ce.kr IN A 111.111.111.20
ns IN A 111.111.111.20
www IN A 111.111.111.20
w3 IN A 111.111.111.20
ftp IN A 111.111.111.20
mail IN A 111.111.111.20
www IN A 111.111.111.20
sh IN A 111.111.111.20
----------------------------------------------------
nslookup 하면 이렇게 나옵니다...
*** Can't find server name for address 111.111.111.20: No response from server
Default Server: tty.tty.co.kr
Address:111.111.111.1
>
제발 도와주시길..빌면서....ㅠ.ㅠ--오늘도 좋은 하루 되세요.