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

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

		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):
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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