bind-9.2.1 DNS Server 安裝 named.conf

Last Update : 04Jun 2002


options {
directory "/etc/named"; < ---- 設定 /etc/named 為Domain資料目錄
pid-file "/var/run/named.pid"; < -- PID 在 /etc/named/named.pid
};

controls {/* empty */}; < -- 不使用 rndc.key

// Root server hints
zone "." { type hint; file "root.hint";};< -- 根據 /etc/named/root.hint 內的資料來找尋其他 Domain 的資料

// Provide a reverse mapping for the loopback address 127.0.0.1
zone "0.0.127.in-addr.arpa" { type master; file "localhost.rev"; notify no; };

// Domain Name information at following

zone "coxford.net" { type master; file "db.coxford.net"; }; 有關 coxford.net 的資料在 /etc/named/db.coxford.net



E-mail : andrew@tophk.net