我有两个 Ubuntu 14.04 x64 盒子。一个是正常安装,另一个是最小安装。我bind9
在两个盒子中都安装了。正常安装盒工作正常。但是,我无法将新区域添加到最小安装中。当我尝试使用 添加新区域时rndc
,它显示以下错误消息:
rndc: connect failed: 127.0.0.1#953: connection refused
我在 Google 上搜索了一下,发现该进程named
在最小安装上没有运行。在我手动运行之后:
named -u bind
service bind9 restart
它工作正常。所以我的问题是如何让最小安装与正常安装一样自动启动named -u bind
?谢谢。
答案1
y
在安装时被询问时回答似乎问题解决了bind9
。
Configuration file '/etc/init.d/bind9'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** bind9 (Y/I/N/O/D/Z) [default=N] ? y