You are here

DNS

解決DDNS更新出現update failed: NOTAUTH(BADKEY) 的錯誤

我在Elastix上有安裝DNS服務, 原本想把公司的電腦使用DDNS來更新它的DNS但是一直出現以下錯誤

; TSIG error with server: tsig indicates error
update failed: NOTAUTH(BADKEY)

在Elastix (CentOS) 中DNS Server看起好像不是一般有個 name.conf , 而是在/etc 下有二個設定檔

named.caching-nameserver.conf
named.rfc1912.zones

named.caching-nameserver.conf 看起來應該是DNS Server的主設定檔, named.rfc1912.zones 用來定義網域的規則.. 所以我就在 /etc/named.rfc1912.zones 加了一行

Tags: 

DNS start failure - Starting named: named: capset failed: Operation not permitted

在安裝完Elastix後, 便開始進行一些服務的設定但是在設定DNS server時, 出現令人意料之外的錯誤...會出現如下的訊息

[root@elastix etc]# /etc/init.d/named start
Starting named: named: capset failed: Operation not permitted: please ensure that the capset kernel module is loaded. see insmod(8)
[FAILED]

到Google上找尋一些資料, 大都寫是因為「capability , commoncap」這個Kernel module沒載入的關係, 或可用更新kernel的方式解決...

我是實驗直接載入capability及commoncap後, BIND的DNS 服務就可以正常啟動啦 :D

modprobe capability
modprobe commoncap

PS: 我是用Kernel 2.6.19.1

Tags: 

update failed: REFUSED ?

今天突然發現小NAS的DDNS不能用了, 執行鳥哥LINUX中的DDNS script, 會出現 update failed: REFUSED, 這是什麼問題? # /usr/local/ddns/ddns_update.sh update failed: REFUSED

Tags: 
Subscribe to DNS