我已经安装并配置了用于缓存DNS的Unbound。用dig和nslookup从客户端计算机上测试它可以工作。但是,如果我在logfile中设置了/etc/unbound/unbound.conf,我就看不到任何日志。我已经禁用了Selinux和防火墙。当我调试它时,/var/log/messages中有一条消息:
error Could not open logfile /var/log/unbound: Permission den
标题相当不言自明。ambient: !!python/tuple [0.3, 0.3 ,0.3]yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/tuple'
我正在尝试将unbound设置为我的DNS解析器,但似乎unbound在启动后立即终止。日志中似乎没有任何内容表明为什么会发生这种情况。配置文件与中的文件完全相同,不同之处在于将logfile更改为/var/log/unbound/unbound.log,并将详细程度设置为2。使用service unbound start启动unbound将导致systemd一次又一次尝试解除绑定。在前台运行它将显示以下内容:
[1584217278] u