>> Read No. 13177 article  
DNS 설정이 잘 안 되네요. 진단 부탁드립니다.

등록 2000-12-01 14:36:00     조회 1
이름 반달곰    

		sendmail을 사용하기 위해서는 DNS에 도메인이 등록이 되어 있거나 직접
DNS 서버를 구축해야 한다고 들었습니다.
그래서 서버에 DNS 서버를 구축하려고 했는데 아무리 nslookup 을 해보아도
다음과 같이 에러만 납니다.
*** Can't find server name for address xxx.xxx.xxx.xxx: No response
from server
*** Can't find server name for address 127.0.0.1: No response from
server
*** Default servers are not available
 참고로 지금 작업하고 있는 서버에는 ipchains 설정이 되어 있습니다.
아래에 제가 설정한 파일들과 ipchains 설정 내용을 적어보겠습니다.
고수님들의 진단 부탁드립니다.
KLDP나 책의 내용을 들춰보아도 어렵고 잘 안 되는군요. T_T
참고로 아래의 내용에서 주소는 임의로 바꾸어 올렸으며, ip도 xxx로 바꾸
어 올립니다. ^^;
  * host.conf의 내용 - alert on 문장은 에러가 나서 뺐습니다. - -;
order hosts,bind
multi off
nospoof on
trim comliving.com
 * resolv.conf의 내용 -
domain www.songbird.com search www.songbird.com songbird.com
nameserver xxx.xxx.xxx.xxx
nameserver 127.0.0.1
 * 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" {
        type master;
        file "named.local";
};
 zone "www.songbird.com" {
      type master;
      file "songbird.zone";
};
 zond "xxx.xxx.xxx.in-addr.arpa" { <-- C클래스부터 거꾸로 쓰더군요.^^
      type master;
      file "comliving.rev";
};
 * named.local의 내용 -
@       IN      SOA     ns.songbird.com. root.songbird.icom. (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.
 1       IN      PTR     localhost.
  * songbird.zone의 내용 -
@       IN      SOA     ns.songbird.com. root.songbird.com. (
                                      2000113000 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400      ; Minimum
)
ving.com.              IN      NS      ns.songbird.com.
1             IN      PTR     ns.songbird.com.
 @       IN      A       xxx.xxx.xxx.xxx
ns      IN      A       xxx.xxx.xxx.xxx
www     IN      A       xxx.xxx.xxx.xxx
 * songbird.reverse의 내용
@       IN      SOA    ns.songbird.com.  root.songbird.com. (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400      ; Minimum
 )
              IN      NS      ns.songbird.com.
              IN      MX  10  mail.songbird.com.
 253     IN      ns.songbird.com.
 * ipchains 설정 내용
Chain input (policy DENY):
target     prot opt     source                destination         
ports
ACCEPT     all  ------  xxx.xxx.xxx.0/24      anywhere              n/a
ACCEPT     all  ------  xxx.xxx.xxx.0/24      anywhere              n/a
ACCEPT     icmp ------  anywhere             anywhere             
any ->   any
ACCEPT     tcp  ------  anywhere             anywhere             
any ->   www
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.68 초 ] 작업시간: [ 0.09 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789696251
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.