티스토리 뷰

___네임서버

[BIND] master named.conf 설정

변군 변군이글루 2013. 7. 9. 10:59

master named.conf 설정

 

[root@byun named]# cat /etc/named.conf

options {

        directory "/var/named";  // ZONE 파일 위치 할 디렉토리

        pid-file "/var/run/named.pid";

        dump-file "/var/named/data/cache_dump.db";

        statistics-file "/var/named/data/named_stats.txt";

 

        version "byunsangchul";

        check-names master ignore;

        check-names slave ignore;

        check-names response ignore;

 

        cleaning-interval 300;

        interface-interval 0;

        lame-ttl 0;

        recursive-clients 10000;

 

        allow-query { any; };

        allow-transfer { 58.140.187.177; 10.0.10.124; };

//      allow-transfer { any; };

        also-notify { 58.140.187.177; 10.0.10.124; };

        allow-recursion { any; };

 

statistics-channels {

        inet 10.0.1.138 port 8181 allow { 127.0.0.1; 10.0.1.0/24; 10.0.10.0/24; };

        };

 

controls {

        inet 127.0.0.1 allow { localhost; } keys { rndc-key; };

        };

 

zone "." IN {

        type hint;

        file "named.ca";

        };

 

zone "localhost" IN {

        type master;

        file "localhost.zone";

        };

 

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

        type master;

        file "named.local";

        };

 

zone "scbyun.com" IN {

        type master;

        file "scbyun.com.zone";

        };

 

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

        type master;

        file "scbyun.com.rev";

        };

 

zone "bsc.pe.kr" IN {

        type master;

        file "bsc.pe.kr.zone";

        };

 

zone "byun.com" IN {

        type master;

        file "byun.com.zone";

        };

 

zone "cheol.pe.kr" IN {

        type slave;

        file "slave/cheol.pe.kr.zone";

        masters { xx.xxx.xxx.xx; };

        };

 

Include "/etc/rndc.key";

 

 

 

댓글
댓글쓰기 폼