Server Admin

본문 바로가기
사이트 내 전체검색


RedHat Linux >> Server Administration for Redhat Linux
[목차]
제2장 DNS 서버

    5. 웹호스팅 서비스를 위한 DNS 설정


 

/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;

};

 

//

// a caching only nameserver config

//

zone "." IN {

        type hint;

        file "named.ca";

};

 

zone "0.0.127.in-addr.arpa" IN {

        type master;

        file "named.local";

};

zone "leelab.co.kr"{

        type master;

        file "named.default";

};

zone "tobagi.pe.kr"{

        type master;

        file "named.tobagi";

};

zone "176.230.211.in-addr.arpa"{

        type master;

        file "named.rev";

};

/var/named/named.default

@               IN      SOA     ns.leelab.co.kr.        root.ns.leelab.co.kr. (

                        1997022700     ; serial

                        28800          ; refresh

                        14400          ; retry

                        3600000        ; expire

                        86400          ; default_ttl

                        )

@                       IN      NS      ns.leelab.co.kr.

;

ns                      IN      A       211.230.176.7

;

leelab.co.kr.           IN      A       211.230.176.7

www.leelab.co.kr.       IN      A       211.230.176.7

 

 

/var/named/named.rev

@       IN      SOA     ns.leelab.co.kr. root.ns.leelab.co.kr.  (

                                      1997022700 ; Serial

                                      28800      ; Refresh

                                      14400      ; Retry

                                      3600000    ; Expire

                                      86400 )    ; Minimum

        IN      NS      ns.leelab.co.kr.

 

7       IN      PTR     leelab.co.kr.

 

 

/var/named/named.tobagi

$INCLUDE named.default

;

www.tobagi.pe.kr.               IN      A       211.230.176.7

;

tobagi.pe.kr.                       IN      A       211.230.176.7

 

[목차]

개인정보취급방침 서비스이용약관 모바일 버전으로 보기 상단으로

TEL. 063-469-4551 FAX. 063-469-4560 전북 군산시 대학로 558
군산대학교 컴퓨터정보공학과

Copyright © www.leelab.co.kr. All rights reserved.