上一步 回到第一頁 下一步

STEP 13

檢視 /var/log/messages檔案

由messages檔案來的得知Bind伺服器是否成功起動,成功則表示DNS所有設定正確無誤,否則,可由該檔案相關訊息得知錯誤地方為何。以下列出正確的啟動紀錄參考範例:

Jun 12 17:09:20 linux named[28354]: starting BIND 9.2.2rc1
Jun 12 17:09:20 linux named[28354]: using 1 CPU
Jun 12 17:09:20 linux named[28354]: loading configuration from '/etc/named.conf'
Jun 12 17:09:20 linux named[28354]: no IPv6 interfaces found
Jun 12 17:09:20 linux named[28354]: listening on IPv4 interface lo, 127.0.0.1#53
Jun 12 17:09:20 linux named[28354]: listening on IPv4 interface eth0, 140.123.102.30#53
Jun 12 17:09:20 linux named[28354]: listening on IPv4 interface eth0:0, 192.168.10.253#53
Jun 12 17:09:20 linux named[28354]: command channel listening on 127.0.0.1#953
Jun 12 17:09:20 linux named[28354]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jun 12 17:09:20 linux named[28354]: twnic.rev:1: no TTL specified; using SOA MINTTL instead
Jun 12 17:09:20 linux named[28354]: zone 102.123.140.in-addr.arpa/IN: loaded serial 2002121901
Jun 12 17:09:20 linux named[28354]: private.rev:1: no TTL specified; using SOA MINTTL instead
Jun 12 17:09:20 linux named[28354]: zone 10.168.192.in-addr.arpa/IN: loaded serial 2002121901
Jun 12 17:09:20 linux named[28354]: zone localhost/IN: loaded serial 42
Jun 12 17:09:20 linux named[28354]: zone twnic.com.tw/IN: loaded serial 42
Jun 12 17:09:20 linux named[28354]: running
Jun 12 17:09:20 linux named[28354]: zone twnic.net.tw/IN: sending notifies (serial 42)
Jun 12 17:09:20 linux named[28354]: zone twnic.com.tw/IN: sending notifies (serial 42)