>> Read No. 42918 article  
[질문] named 제대로설정되이있는지 좀 봐주실레요.

등록 2002-02-20 18:52:00     조회 1
이름 이상훈    

		제가 named설정은 첨이라 아직확실히 잘모르겠지만 문서를 보구 대충
 했는데요 잘됬는지 궁굼해서..... 네임서버가 바로 바뀌는게 아니더군요 그래서
 봐주세요.
bind 9버전이구요 named.conf입니다.
[root@scuweb root]# vi /etc/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;
};
 logging {   // 불필요한 정보를 로그파일에 남기지 않는다.
        category lame-servers { null; };
//      category cname { null; };
//      category response-checks { null; };
        category notify { null; };
};
 zone "." IN {                       // 캐쉬 파일
        type hint;
        file "named.ca";
};
zone "0.0.127.in-addr.arpa" IN {    // localhost를 위한 Primary 도메인 설정
        type master;
        file "zone-0.0.127.in-addr.arpa";
};
zone "79.105.210.in-addr.arpa" IN { // 할당 IP 블락에 대한 Reverse Zone
        type master;
        file "zone-54.62.211.in-addr.arpa";
};
zone "nobreak.com" IN {             // 도메인 scuweb.net 에 대한 Forward Zone
        type master;
        file "zone-scuweb.net";
};
 //
// a caching only nameserver config
//
/*controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
  include "/etc/rndc.key";
*/
그리고 네임드 디렉토리 화면이구요
[root@scuweb root]# cd /var/named/
[root@scuweb named]# ll
total 24
-rw-r--r--    1 named    named         195 Feb 20 14:01 localhost.zone
-rw-r--r--    1 named    named        2769 Jul  4  2001 named.ca
-rw-r--r--    1 named    named         433 Jul  4  2001 named.local
-rw-r--r--    1 named    named         514 Feb 20 14:38 zone-0.0.127.in-addr.arpa
-rw-r--r--    1 named    named         598 Feb 20 14:38 zone-54.62.211.in-addr.arpa
-rw-r--r--    1 named    named         875 Feb 20 14:38 zone-scuweb.net
 [root@scuweb named]# vi zone-0.0.127.in-addr.arpa
 $TTL 86400
@               IN      SOA     ns.scuweb.net. webmaster.scuweb.net. (
                                1998122801  ;Serial
                                21600       ;Refresh ( 6 hours)
                                1800        ;Retry   (30 minutes)
                                1209600     ;Expire  (14 days)
                                86400)      ;Minimum ( 1 day)
                IN      NS      ns.scuweb.net.
 ; IP-Domain mapping here
1               IN      PTR     localhost.
[root@scuweb named]# vi zone-54.62.211.in-addr.arpa
 $TTL 86400
@               IN      SOA     ns.scuweb.net. webmaster.scuweb.net. (
                                1998122801  ;Serial
                                21600       ;Refresh ( 6 hours)
                                1800        ;Retry   (30 minutes)
                                1209600     ;Expire  (14 days)
                                86400)      ;Minimum ( 1 day)
                IN      NS      ns.scuweb.net.
 ; IP-Domain mapping here
146             IN      PTR     scuweb.net.
146             IN      PTR     ns.scuweb.net.
146             IN      PTR     www.scuweb.net.  [root@scuweb named]# vi zone-scuweb.net
 $TTL 86400
@               IN      SOA     ns.scuweb.net. webmaster.scuweb.net. (
                                1998122801  ;Serial
                                21600       ;Refresh ( 6 hours)
                                1800        ;Retry   (30 minutes)
                                1209600     ;Expire  (14 days)
                                86400)      ;Minimum ( 1 day)
                 IN      NS      ns.scuweb.net.
                 IN      A       211.62.54.146
;               IN      MX 10   mail           ; 메일 라우팅 호스트
 ;mail           IN      A       211.62.54.146
 ; Hosts Here - This is comments
localhost       IN      A       127.0.0.1
ns              IN      A       211.62.54.146
www             IN      A       211.62.54.146
scuweb.net.     IN      NS      ns.scuweb.net.
                IN      HINFO   "cellerlon 1Giga"         "Redhat 7.2"
                IN      TXT     "scuweb.net."
 아그리고 궁굼한게 있는데요 원래
named를 실행시키면 프로세서가 5개가 뜨나요?
 [root@scuweb named]# ps -aux | grep named
named     1067  0.0  1.4 11588 3596 ?        S    14:32   0:00 named -u named
named     1069  0.0  1.4 11588 3596 ?        S    14:32   0:00 named -u named
named     1070  0.0  1.4 11588 3596 ?        S    14:32   0:00 named -u named
named     1071  0.0  1.4 11588 3596 ?        S    14:32   0:00 named -u named
named     1072  0.0  1.4 11588 3596 ?        S    14:32   0:00 named -u named
 이렇게 뜨는데... 맞는건지요? 도메인 설정 제대로 했으면 어떻게 확인하는거지요?
hosts파일도 바꿔야 하는거 있나요?--왕초보 허접인데요 -.-
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.81 초 ] 작업시간: [ 0.49 초 ]

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