目錄表

在 Alpine Linux 3 底下安裝 Bind 當 DNS

安裝與設定 BIND

  • 啟動時如果出現以下的異常訊息

    :
    Jul  8 07:47:30 ct-dns daemon.info named[537]: none:100: 'max-cache-size 90%' - setting to 173990MB (out of 193322MB)              
    Jul  8 07:47:33 ct-dns daemon.err /etc/init.d/named[535]: start-stop-daemon: failed to start `/usr/sbin/named'                     
    Jul  8 07:47:33 ct-dns daemon.err /etc/init.d/named[397]: ERROR: named failed to start                              

  • 可以在 /etc/bind/named.conf 內強制設定 max-cache-size 來解決, Exp:

    :
      max-cache-size 218M;
    :

增加查詢與運行的相關紀錄

參考網址