>> Read Reply from No. 1446 article  
RE: dns및 버추얼웹서버 설정

등록 2001-07-12 18:52:00     조회 5
이름 바다    

		왜 옆으로 쭈욱 밀렸나요? 호호...
 bind 버전 몇으로 설정하셨는지 좀 갈쳐 주실라우?
 그리구요,
저도 님과 비슷하게 설정을 했는데 (bind 8.2)
네임서버 역할은 잘 하는데 dynamic update (nsupdate)가
동작하질 않걸랑요.
 님의 설정 file을 보니 dynamic update는 설정하지 않으신 모양인데
이 가련한 초보를 위해 함 테스트 좀 해 주시지 않으시겠어요?
  : 일단 dns에서 설정을 하시고
:                                    두번째는 아파치 config에서 설정을
:
:                                    저의 파일 일부를 적어 드리겠습니다.
:                                    /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 versi
ons 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 "emoticon.127.in-addr.arpa" IN {
:                                            type master;
:                                            file "named.local";
:                                            allow-update { none; };
:                                    };
:                                    zone "xxx.xxx.211.in-addr.arpa" {
:                                            type master;
:                                            file "zone-xxx.xxx.211";
:                                    };
:                                    zone "xxx.pe.kr" {
:                                            type master;
:                                            file "xxx.local";
:                                    };
:
:                                    key "key" {
:                                            algorithm hmac-md5;
:                                            secret "VbkFcuOKRUaMUV0KgTyOtrijSjADTgZJBsuLhWevkrlJC
xpMazCyDljvjFEB"; :                                    };
:
:                                    /var/named/xxx.local
:                                    @       IN      SOA     ns.xxx.pe.kr.   webmaster.xxx.pe
.kr.    ( :                                                                       
   1997022700 ; Serial :                                                               
           28800      ; Refresh :                                                    
                      14400      ; Retry :                                          
                                3600000    ; Expire :                                
                                          86400 )    ; Minimum :                      
                      IN      NS      ns.xxx.pe.kr. :                                 
           IN      A       211.xxx.xxx.xxx :                                    localhost 
      IN      A       127.emoticon.1 :                                    mail    IN      A  
     211.xxx.xxx.xxx :                                    www     IN      A       211.xxx.xx
x.xxx :                                    ftp     IN      A       211.xxx.xxx.xxx
:                                    xxx     IN      A       211.xxx.xxx.xxx
:                                    xxx     IN      A       211.xxx.xxx.xxx
:                                    xxx     IN      A       211.xxx.xxx.xxx
:
:                                    /var/named/zone-xxx.xxx.211
:
:                                    @       IN      SOA     ns.xxx.pe.kr.   webmaster.xxx.pe
.kr.    ( :                                                                       
   1997022700 ; Serial :                                                               
           28800      ; Refresh :                                                    
                      14400      ; Retry :                                          
                                3600000    ; Expire :                                
                                          86400 )    ; Minimum :                      
                      IN      NS      ns.xxx.pe.kr. :                                 
   xxx      IN      PTR     xxx.pe.kr. :                                    xxx     IN   
   PTR     mail.xxx.pe.kr. :                                    xxx     IN      PTR     www.
xxx.pe.kr. :                                    xxx     IN      PTR     ftp.xxx.pe.kr. :    
                                xxx     IN      PTR     xxx.xxx.pe.kr. :                
                    xxx     IN      PTR     xxx.xxx.pe.kr. :                            
        xxx     IN      PTR     xxx.xxx.pe.kr. :
:                                    저는 이것을 가지고 dns및 아파치 웹서버,ftp,메일 
서버 까지 전부 :                                    하날로 해결하고 있습니다.
:
:                                    추가로 아파치 웹서버 의 설정은 아래와 같습니
다. :                                    /etc/httpd/conf/httpd.conf
:                                    ServerName www.xxx.pe.kr :
:                                    ### Section 3: Virtual Hosts
:                                    #
:                                    # VirtualHost: If you want to maintain multiple domains/hostnames
 on your :                                    # machine you can setup VirtualHost containers for them.
:                                    # Please see the documentation at <URLemoticonA HREF="http://www.apache.org/docs" TARGET="_blank">http://www.apache.org/docs
/vhosts/> :                                    # for further details before you try to setup virtual h
osts. :                                    # You may use the command line option '-S' to verify your v
irtual host :                                    # configuration.
:
:                                    #
:                                    # If you want to use name-based virtual hosts you need to define 
at :                                    # least one IP address (and port number) for them.
:                                    #
:                                    #NameVirtualHost 12.34.56.78:80
:                                    #NameVirtualHost 12.34.56.78
:
:                                    #
:                                    # VirtualHost example:
:                                    # Almost any Apache directive may go into a VirtualHost container
. :                                    #
:                                    #<VirtualHost ip.address.of.host.some_domain.com>
:                                    #    ServerAdmin webmaster at host.some_domain.com :         
                           #    DocumentRoot /www/docs/host.some_domain.com :                  
                  #    ServerName host.some_domain.com :                                   
 #    ErrorLog logs/host.some_domain.com-error_log :                                    #    Custo
mLog logs/host.some_domain.com-access_log common :                                    #</VirtualHost>
:
:                                    #<VirtualHost _default_:*>
:
:                                    NameVirtualHost 211.xxx.xxx.xxx:80
:                                    #
:                                    # # www.foo.com 설정
:                                    #
:                                    <VirtualHost 211.xxx.xxx.xxx>
:                                            ServerName www.xxx.pe.kr :                  
                          DocumentRoot /var/www/html :                                   
 #       ErrorLog logs/www.bar.com-error_log :                                    #       Custom
Log logs/www.bar.com-access_log common :                                    </VirtualHost>
:                                    #
:                                    #
:                                    <VirtualHost 211.xxx.xxx.xxx>
:                                            ServerName xxx.xxx.pe.kr
:                                            DocumentRoot /mnt/xxx/home/xxx/public_html
:                                    #       ErrorLog logs/xxx.xxx.pe.kr-error_log
:                                    #       CustomLog logs/xxx.xxx.pe.kr-access_log common
:                                    </VirtualHost>
:                                    #
:                                    #
:                                    <VirtualHost 211.xxx.xxx.xxx>
:                                            ServerName xxx.xxx.pe.kr
:                                            DocumentRoot /mnt/xxx/home/xxx/public_html
:                                    #       ErrorLog logs/xxx.xxx.pe.kr-error_log
:                                    #       CustomLog logs/xxx.xxx.pe.kr-access_log common
:                                    </VirtualHost>
:                                    <VirtualHost 211.xxx.xxx.xxx>
:                                            ServerName xxx.xxx.pe.kr
:                                            DocumentRoot /home/xxx/public_html
:                                    #       ErrorLog logs/xxx.xxx.pe.kr-error_log
:                                    #       CustomLog logs/xxx.xxx.pe.kr-access_log common
:                                    </VirtualHost>
:                                    #
:                                    #
:                                    <VirtualHost 211.xxx.xxx.xxx>
:                                            ServerName www.xxx.pe.kr :                  
                          ServerAlias *.xxx.pe.kr :                                    </
VirtualHost> :
:                                    #</VirtualHost>
:
:                                    <IfDefine HAVE_SSL>
:                                    ##
:                                    ## SSL Virtual Host Context
:                                    ##
:
:                                    #  Apache will only listen on port 80 by default.  Defining the
 virtual server :                                    #  (below) won't make it automatically listen on
 the virtual server's port. :                                    Listen 443
:
:                                    #   SSL Session Cache:
:                                    #   The cache speeds up processing of multiple parallel requests
 from :                                    #   the same client.
:                                    SSLSessionCache shm:/var/cache/ssl_gcache_data(524288)
:
:                                    <VirtualHost _default_:443>
:
:                                    #  General setup for the virtual host
:                                    DocumentRoot "/var/www/html"
:
:                                    꼭 성공하세요
:                                    나눈다는것은 정말 즐겁구나!!!--gvim 만세!!!
이름
암호


>> 관련글
1446 dns및 버추얼웹서버 설정  chobo  2001.07.12  ....
  답장 RE: dns및 버추얼웹서버 설정  바다  2001.07.12  ....
  목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.64 초 ] 작업시간: [ 0.02 초 ]

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