这是一个非常恼人的问题,我正在与rndc重新加载
我收到以下错误:
rndc: connect Failed: 127.0.0.1#953: connection refused
但以下工作正常,
[root@cbgfx ~]# service named restart Stopping named: . [ OK ] Starting named: [ OK ] [root@cbgfx ~]# tail -f /var/log/messages Aug 7 12:51:09 cbgfx named[31990]: zone 120.88.167.in-addr.arpa/IN: loaded serial 14 Aug 7 12:51:09 cbgfx named[31990]: 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/IN: loaded serial 0 Aug 7 12:51:09 cbgfx named[31990]: zone domain.com/IN: domain.com/MX 'mail.servergreek.com' has no address records (A or AAAA) Aug 7 12:51:09 cbgfx named[31990]: zone domain.com/IN: loaded serial 14 Aug 7 12:51:09 cbgfx named[31990]: zone localhost.localdomain/IN: loaded serial 0 Aug 7 12:51:09 cbgfx named[31990]: zone localhost/IN: loaded serial 0 Aug 7 12:51:09 cbgfx named[31990]: managed-keys-zone ./IN: loaded serial 4 Aug 7 12:51:09 cbgfx named[31990]: zone domain.com/IN: sending notifies (serial 14) Aug 7 12:51:09 cbgfx named[31990]: zone 120.88.167.in-addr.arpa/IN: sending notifies (serial 14) Aug 7 12:51:09 cbgfx named[31990]: running
vps有ipv6的ip地址,我在这里错过了什么?
先谢谢你们
我自己修复了它,这是一个权限和所有权问题.要修复它,你需要执行那些ssh命令
修复rndc连接拒绝错误
chown root:命名为/etc/rndc.key
chmod 640 /etc/rndc.key