>> Read No. 50228 article  
bind 설정 어떤게 틀린지 모르겠어요 ㅠ.ㅠ

등록 2002-06-02 03:42:00     조회 1
이름 NiceBSD    

		현제 www.nicebsd.com으로 접속이 가능해서 DNS 서비스가 안되고 있는지 모
르고 있었습니다만 얼마전에 ns2.nicebsd.com 이 죽었을때 보니까 master는
DNS서비스가 안되고 있었고 slave 가 하고 있더군요 -_-; ( 부끄러울 나름 입니다 )
 기존에 와우파란 7.1을 쓰다가 싹 밀어 버리고
REDHAT 7.3 을 깔아서 쓰고 있습니다
근데 DNS 서비스를 못해서 삽질하고 있습니다 ㅠ.ㅠ
 nslookup www.nicebsd.com 61.32.211.35 <-- 이넘이 master 입니다
nslookup 결과 입니다
 ---------------------------------------------------------
[skuldfan@finkl named]$ nslookup www.nicebsd.com 61.32.211.35
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:        61.32.211.35
Address:       61.32.211.35#53
 ** server can't find www.nicebsd.com: SERVFAIL
 [skuldfan@finkl named]$
------------------------------------------------------------------
이렇게 에러 메세지가 떨어집니다
  네임서비스 데몬은 잘 떠 있습니다
-------------------------------------------------------------------
[skuldfan@finkl named]$ ps -aux |grep named
named     3712  0.0  1.8 10384 2404 ?        S    03:22   0:00 named -u named
named     3714  0.0  1.8 10384 2404 ?        S    03:22   0:00 named -u named
named     3715  0.0  1.8 10384 2404 ?        S    03:22   0:00 named -u named
named     3716  0.0  1.8 10384 2404 ?        S    03:22   0:00 named -u named
named     3717  0.0  1.8 10384 2404 ?        S    03:22   0:00 named -u named
skuldfan  4071  0.0  0.5  2656  656 pts/5    S    03:48   0:00 grep named
[skuldfan@finkl named]$
--------------------------------------------------------------------
  /var/log/messages 를 봐도 별 이상한걸 모르겠습니다
---------------------------------------------------------------------
Jun  2 03:22:01 finkl named[3540]: shutting down
Jun  2 03:22:01 finkl named[3540]: stopping command channel on 127.0.0.1#953
Jun  2 03:22:01 finkl named[3540]: no longer listening on 127.0.0.1#53
Jun  2 03:22:01 finkl named[3540]: no longer listening on 61.32.211.35#53
Jun  2 03:22:01 finkl named[3537]: exiting
Jun  2 03:22:01 finkl  6월  2 03:22:01 named: named 종료 succeeded
Jun  2 03:22:05 finkl named[3712]: starting BIND 9.2.0 -u named
Jun  2 03:22:05 finkl named[3712]: using 1 CPU
Jun  2 03:22:05 finkl named[3715]: loading configuration from '/etc/named.conf'
Jun  2 03:22:05 finkl named[3715]: no IPv6 interfaces found
Jun  2 03:22:05 finkl named[3715]: listening on IPv4 interface lo, 127.0.0.1#53
Jun  2 03:22:05 finkl named[3715]: listening on IPv4 interface eth0, 61.32.211.35#53
Jun  2 03:22:05 finkl named[3715]: command channel listening on 127.0.0.1#953
Jun  2 03:22:05 finkl named[3715]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jun  2 03:22:05 finkl named[3715]: dns_rdata_fromtext: nicebsd.com:2: near eol: unexpected endof input
Jun  2 03:22:05 finkl named[3715]: zone nicebsd.com/IN: loading master file nicebsd.com: unexpected end of input
Jun  2 03:22:05 finkl named[3715]: zone localhost/IN: loaded serial 42
Jun  2 03:22:05 finkl named[3715]: running
Jun  2 03:22:05 finkl  6월  2 03:22:05 named: named 를 시작하고 있습니다 succeeded
--------------------------------------------------------------------------------
 BIND 버젼은 9.2 입니다
-------------------------------------
[root@finkl etc]# rpm -qa |grep bind
bind-utils-9.2.0-8
bind-9.2.0-8
bind-devel-9.2.0-8
ypbind-1.10-7
[root@finkl etc]#
-------------------------------------
  /etc/named.conf 의 내용입니다
------------------------------------------------------------------
[skuldfan@finkl skuldfan]$ cat /etc/named.conf
// generated by named-bootconf.pl
 options {
        directory "/var/named";
        dump-file "/var/named";
        statistics-file "/var/named/named.stats";
        /*
         * 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
//
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
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 "nicebsd.com" IN {
        type master;
        file "nicebsd.com";
};
  // include "/etc/rndc.key";
[skuldfan@finkl skuldfan]$
-------------------------------------------------------------------
  /var/named/nicebsd.com 의 내용입니다
-------------------------------------------------------------------
[skuldfan@finkl named]$ cat nicebsd.com
$TTL    3600
@               IN      SOA     ns.nicebsd.com.    skuldfan.nicebsd.com.
(
                        2002060100      ;Serial
                        10800           ;Refresh
                        3600            ;Retry
                        3600000         ;Expire
                        3600            ;Minimum
)
                 IN      NS      ns.nicebsd.com.
                IN      NS      ns2.nicebsd.com.
                IN      MX  10  mail.nicebsd.com.
                IN      A       61.32.211.35
mail            IN      A       61.32.211.35
localhost       IN      A       127.0.0.1
ns              IN      A       61.32.211.35
www             IN      A       61.32.211.35
finkl           IN      A       61.32.211.35
boa             IN      A       61.32.211.36
ns              IN      A       61.32.211.35
ns2             IN      A       61.32.211.36
  [skuldfan@finkl named]$
---------------------------------------------------------------------
 답변 부탁드립니다 꾸벅 _^^_--스팸 없는 곳에 살고 싶어오 ㅠ.ㅠ
이름
암호


>> 관련글
50228 bind 설정 어떤게 틀린지 모르겠어요 ㅠ.ㅠ  NiceBSD  2002.06.02  ....
  답장 RE: bind 설정 어떤게 틀린지 모르겠어요 ㅠ.ㅠ  정태영  2002.06.02  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.77 초 ] 작업시간: [ 0.39 초 ]

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: 1791429221
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.