내일은 대한입니다.
sun's longitude:299 31 36.50 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  

질문과 답변 게시판입니다.

현재 실시간으로 이곳 서버의 설정파일(몇개)를 보여주고 있습니다.
서버의 설정내용에 관한 질문은 먼저 이곳 서버의 설정내용을 참고하시길 바랍니다.

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
2160 번 글: dns설치
글쓴이: 왕초보 글쓴날: 2004년 09월 09일 09:32:09 목(오전) 조회: 1385
-----------------------------------------
답변자가 기본적으로 참고할 내용입니다.
- 배포판(옵션)    : 
- 커널버전(옵션)
  : 
- 데몬버전(예: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

 
이전글 : Re: OUTLOOK 보내기 오류
다음글 : Re: dns설치  
 from 210.204.15.240
JS(Redhands)Board 0.4 +@

Re: OUTLOOK 보내기 오류 Re: dns설치
인쇄용 


apache lighttpd linuxchannel.net 
Copyright 1997-2026. linuxchannel.net. All rights reserved.

Page loading: 0.02(server) + (network) + (browser) seconds