歡迎您光臨本站 註冊首頁

dns啟動日誌,誰能幫忙解惑一下?

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

dns啟動日誌,誰能幫忙解惑一下?

bind9安裝配置完成,使用一切正常,但我看到啟動日誌,有些信息比較疑惑,請大俠各幫忙解決一下。

# named -g
24-Dec-2010 16:24:34.376 starting BIND 9.8.0a1 -g
24-Dec-2010 16:24:34.376 built with '--prefix=/usr/local/bind' '--enable-threads' '--disable-openssl-version-check'
24-Dec-2010 16:24:34.376 adjusted limit on open files from 65536 to 1048576
24-Dec-2010 16:24:34.376 found 16 CPUs, using 16 worker threads
24-Dec-2010 16:24:34.376 using up to 4096 sockets
24-Dec-2010 16:24:34.381 loading configuration from '/usr/local/bind/etc/named.conf'
24-Dec-2010 16:24:34.382 reading built-in trusted keys from file '/usr/local/bind/etc/bind.keys'
24-Dec-2010 16:24:34.383 using default UDP/IPv4 port range:
24-Dec-2010 16:24:34.384 using default UDP/IPv6 port range:
24-Dec-2010 16:24:34.385 listening on IPv4 interface lo, 127.0.0.1#53
24-Dec-2010 16:24:34.388 binding TCP socket: address in use
24-Dec-2010 16:24:34.388 listening on IPv4 interface eth1, 10.1.1.102#53
24-Dec-2010 16:24:34.391 binding TCP socket: address in use
24-Dec-2010 16:24:34.391 generating session key for dynamic DNS
24-Dec-2010 16:24:34.393 set up managed keys zone for view _default, file 'managed-keys.bind'
24-Dec-2010 16:24:34.393 automatic empty zone: 0.IN-ADDR.ARPA
24-Dec-2010 16:24:34.393 automatic empty zone: 127.IN-ADDR.ARPA
24-Dec-2010 16:24:34.393 automatic empty zone: 254.169.IN-ADDR.ARPA
24-Dec-2010 16:24:34.393 automatic empty zone: 2.0.192.IN-ADDR.ARPA
24-Dec-2010 16:24:34.393 automatic empty zone: 100.51.198.IN-ADDR.ARPA
24-Dec-2010 16:24:34.393 automatic empty zone: 113.0.203.IN-ADDR.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: D.F.IP6.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: 8.E.F.IP6.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: 9.E.F.IP6.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: A.E.F.IP6.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: B.E.F.IP6.ARPA
24-Dec-2010 16:24:34.394 automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
24-Dec-2010 16:24:34.395 /usr/local/bind/etc/named.conf:7: couldn't add command channel 127.0.0.1#953: address in use
24-Dec-2010 16:24:34.395 ignoring config file logging statement due to -g option
24-Dec-2010 16:24:34.396 zone 0.0.127.in-addr.arpa/IN: loaded serial 3443726094
24-Dec-2010 16:24:34.396 zone 132.153.180.in-addr.arpa/IN: loaded serial 2007040616
24-Dec-2010 16:24:34.398 zone 51ping.com/IN: loaded serial 3443726039
24-Dec-2010 16:24:34.398 zone localhost/IN: loaded serial 3135596012
24-Dec-2010 16:24:34.398 managed-keys-zone ./IN: loaded serial 0
24-Dec-2010 16:24:34.398 running

紅色的部分是不解的部分,首先聲明本機除了bind無其他任何服務,bind在stop以後,ps -ef|grep named沒有任何進程,啟動后就報上面的日誌。

大俠救命啊!!!
《解決方案》

name.conf內容:紅色部分為第7行

key "rndc-key" {
        algorithm hmac-md5;
        secret "****************************";
};

controls {
        inet 127.0.0.1 port 953
                allow { 127.0.0.1; } keys { "rndc-key"; };
};

options {
        directory  "/usr/local/bind/etc";
        pid-file   "/usr/local/bind/etc/named.pid";
        version    "Powered by DP_BIND !";
        listen-on      { 127.0.0.1;10.1.1.102; };

        notify yes;
        allow-notify   { 10.1.1.0/24; };
        allow-query    { localhost;10.1.1.102;};
        allow-transfer { 10.1.1.0/24; };
};
《解決方案》

建議還是用比較成熟的版本吧,最新的版本問題難免
《解決方案》

回復 1# andyhua12


    Hi!很可能你是在啟動的時候有多個地方都啟動了Named

[火星人 ] dns啟動日誌,誰能幫忙解惑一下?已經有726次圍觀

http://coctec.com/docs/service/show-post-15404.html