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

Hazel avatar
By Hazel
at 2008-05-17T08:54

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
═════════════════════════════════ ╯

--
Tags: Linux

All Comments

關於CAcert 和 ssl-cert 的建置

Barb Cronin avatar
By Barb Cronin
at 2008-05-17T04:30
這問題我也不太知道從何問起 簡單的說 我要有一個 root CA 來產生 .pem 做認證用 但我用openssl去產生.pem時碰到了這個error (用CA.pl也會,我看過script裡面也是用openssl) 8338:error:0E079065:configuration file rout ...

請問一下這些指令正確嗎?

Zora avatar
By Zora
at 2008-05-16T23:31
請問這些指令正確嗎? 優先次序priority為何 [studentatlocalhost student]$nice -5 find . –name “*.sh” –print [studentatlocalhost student]$nice --5 find . –name “*.sh” –pri ...

Ubuntu能裝在Microsoft Virtual PC中嗎??

Caitlin avatar
By Caitlin
at 2008-05-16T22:10
我已經灌好vmware tools了 可是跳回windows還是要按ctrl+alt欸 為什麼啊? ※ 引述《junhao (我要當勇者)》之銘言: : Virtual PC沒有Linux的選項可以選 : 要選Other : 建議你用VM灌啦 ~and#34;~ : 不過VirtualPC在用的時候如果 ...

又來請教egrep+awk 分析資料了

Charlie avatar
By Charlie
at 2008-05-16T22:03
[ /var/log/sudo的內容 ] May 15 16:10:32 Machine-LAB sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/cat /etc/passwd May 16 14:20:02 Machine ...

PPPoE Server的NAT設定

Frederic avatar
By Frederic
at 2008-05-16T22:02
※ 引述《Richie1105 ( )》之銘言: : ※ 引述《xexxo2002 (xexxo2002)》之銘言: : : 1. iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE : : ...