可否將name server的記錄檔log 獨立出來? - Linux

Table of Contents


我架設的DNS server 是cache-only name server

我發現所有解析以及運作過程

都被寫在/var/log/messages

* 試問,有辦法將該server的記錄獨立出來嗎?

以下是我的conf

******分隔線*************

options {

directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
pid-file "/var/run/named/named.pid";

// query-source address * port 53;

forward only;

forwarders {
163.28.136.2;
163.28.136.10;
};

};

******分隔線*************



*  另外,我發現這三行所指的檔案,不是沒有產生,就是沒有內容
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
pid-file "/var/run/named/named.pid";

這到底是怎麼回事,可否指點指點

請指教

謝謝

--
這篇文章讓你覺得?════════════════════════
by ycat y
+ . .ˇ ˇ ˇˇ || c
﹀ ̄▽ ̄ ﹏≦b ︶ ̄y – ̄ a
新奇 溫馨 誇張 難過 實用 高興 無聊 生氣 t
═════════════════════════════════ ╯

--

All Comments