2007년 5월 29일 화요일

Bind9 설치

http://www.isc.org/index.pl 에 방문해서 Bind 소스를 받는다.

소스를 풀고 컴파일을 한다.

tar -xvzf bind-9.4.1.tar.gz
./configure
./make
./make install

[img1]

bind의 설정파일은 /etc/named.conf 에 저장됨

[img2]

/var/named밑에 존 파일들이 저장된다.

options {
        directory "/var/named";
        dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        /*
         * 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;
};

// 추가
zone "arbite.com" IN {
        type master;
        file "zone-arbite.com";
};

named.conf의 설정은 /usr/local/dns/sbin/named-checkconf파일로 설정을 확인할 수 있다.

# named-checkconf /etc/named.conf
the default for the 'auth-nxdomain' option is now 'no'


댓글 없음:

댓글 쓰기