-----------------------------------------
답변자가 기본적으로 참고할 내용입니다.
- 배포판(옵션) :
- 커널버전(옵션)
:
- 데몬버전(예:apache
1.3.27) :
- 데몬설치유형(RPM/컴파일/기타)
:
-----------------------------------------
dns작동이제대로
되지 않습니다.
(참고로 도메인과 ip는 임의적인것으로
수정하였습니다.)
#### 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 "kkkkk.or.kr" {
type master;
file "kkkkk.zone";
#### kkkkk.zone 파일의 내용은 ####
$TTL 3600
@ IN SOA ns.kkkkk.or.kr. root.kkkkk.or.kr. (
2002052101 ;Serial
30M ;Refresh
1M ;Retry
186400 ;Expire
3600 ) ;Minimum
IN NS ns.kkkkk.or.kr.
IN A 211.211.211.55
IN MX 10 mail.kkkkk.or.kr.
localhost IN A 127.0.0.1
ns IN A 211.211.211.55
www IN A 211.211.211.55
dic IN A 211.211.211.55
### nslookup 했을경우 내용은 ###
nslookup
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
>
>
>
>
> server
Default server: 211.211.211.55
Address: 211.211.211.55#53
Default server: 168.126.63.1
Address: 168.126.63.1#53
>
> dic.kkkkk.or.kr
Server: 211.211.211.55
Address: 211.211.211.55#53
> www.kkkkk.or.kr
Server: 211.211.211.55
Address: 211.211.211.55#53
Name: www.kkkkk.or.kr
Address: 211.211.211.55
>
>
> server 168.126.63.1
Default server: 168.126.63.1
Address: 168.126.63.1#53
>
>
> www.kkkkk.or.kr
;; connection timed out; no servers could be reached
입니다.
설정은 제대로 된것같은데..
즉 자체에서는 호스트를 찾는데.. 외부에서는 안된다는
겁니다.
다음은 다른 컴퓨터에서 네임서를 지금 셋팅한 컴퓨터로하고
nslookup한 내용입니다.
> server 211.211.211.55
Default Server: [211.211.211.55]
Address: 211.211.211.55
> www.kkkkk.or.kr
Server: [211.211.211.55]
Address: 211.211.211.55
*** [211.211.211.55] can't find www.kkkkk.or.kr: No response from server
|