參考網站:
不自量力之xxxx 

狀況與想法:
之前遇到的狀況是我的win2003_DNS_SERVER在flow數太高時會被打死(不太耐操),是故改用Bind當作DNS。不過,一般在設定DNS_for_Linux時,最怕的就是在編輯時忘了加"點",不過,現在配合webmin後,可以非常快速且正確的設定完成,以下是作法:

webmin安裝與更新:

參考網站:http://blog.ckps.hc.edu.tw/post/4/2868,這樣webmin就可以隨時更新!!

bind x之安裝流程:

步驟一:

#yum install system-config-bind

 

 

 說明:安裝 system-config-bind 套件來產生 named.conf 範例檔,這很重要,它將一些雜七雜八的設定檔幫你做好!!!

#yum groupinstall "DNS Name Server"

 

 

 說明:安裝 bind 及 bind-chroot 套件,可作可不作,因為灌 OS時bind就已灌入!!!

步驟二:將範例檔copy到bind的路徑(bind的想法是將其設定檔全放在/var/named之中)

#cp -p /usr/share/system-config-bind/profiles/default/named.conf  

   /var/named/chroot/etc/

 

 

說明:複製 named.conf 範例檔

#ln -s /var/named/chroot/etc/named.conf /etc/named.conf

 

 

說明:建立連結到 /etc 下

#cp -p /usr/share/system-config-bind/profiles/default/named/* /var/named/chroot/var/named/

 //複製相關範例檔至 bind chroot 目錄下
#cp /usr/share/doc/bind-xxx/sample/var/named/named.root /var/named/chroot/var/named/ 

 //複製 bind root 檔至 bind chroot 目錄下
#chown -R named /var/named/chroot 

 //把 owner 權限更改為 named

arrow
arrow
    全站熱搜

    bunkera 發表在 痞客邦 留言(0) 人氣()