首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未绑定错误- unbound.service:启动请求重复得太快

未绑定错误- unbound.service:启动请求重复得太快
EN

Server Fault用户
提问于 2021-09-12 23:41:24
回答 1查看 2.7K关注 0票数 0

我是新使用的未绑定的。

我有一个网络192.168.50.1到192.168.50.240。我希望对非缓存数据使用DoH。

我的文件:

代码语言:javascript
复制
# Unbound configuration file for Debian.
#
# See the unbound.conf(5) man page.
#
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
#
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
include: "/etc/unbound/unbound.conf.d/*.conf"

server:

    forward-zone:
        name: "."
        forward-addr: https://cloudflare-dns.com/dns-query

    directory: "/etc/unbound"

    username: unbound

    verbosity: 2

    interface: 0.0.0.0

    prefetch: yes

    access-control: 192.168.50.0/24 allow
    access-control: 127.0.0.1/24 allow

    hide-identity: yes
    hide-version: yes

    remote-control:
        control-enable: no

    control-interface: 127.0.0.1
    control-port: 8953

我的文件怎么了?

非常感谢!

EN

回答 1

Server Fault用户

发布于 2021-09-13 07:57:57

directory应该在server下,而不是在forward-zone下(如果缩进行并不重要)。另外,forward-addr应该是一个IP地址,而不是一个URL (我不确定Unbound是否可以充当DoH客户端)。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1077374

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档