未綁定錯誤 - unbound.service:啟動請求重複得太快

未綁定錯誤 - unbound.service:啟動請求重複得太快

我是新使用unbound。

我有一個網路 192.168.50.1 到 192.168.50.240。我想將 DoH 用於非快取資料。

我的conf檔:

# 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

我的conf 檔案有什麼問題?

多謝!

答案1

directory應該在下面server,而不是在下面forward-zone(行是否縮排並不重要)。另外,forward-addr應該是一個 IP 位址,而不是 URL(我不確定 Unbound 是否可以充當 DoH 用戶端)。

相關內容