【问题标题】:how to config DOH with coreDNS?如何使用 coreDNS 配置 DOH?
【发布时间】:2020-02-11 03:44:05
【问题描述】:

@https://coredns.io/community/.
我在官网上可以看到如下配置,但是这个不提供HTTPS服务,是一个转发。

我找不到如何配置 doh。

对于基于 HTTP/2 (DoH) 的 DNS,请使用: https://example.org { 我是谁 }

【问题讨论】:

  • https://.:443 { tls crt.crt key.key }
  • 你搞定了吗?
  • @Ciastopiekarz 是的,它可以工作 https://.:443 { tls crt.crt key.key }
  • 所以 coredns 作为 https dns 客户端的解析器工作?在其他 dns 解析器客户端中,我们放置了具有 /dns-query 的 doh 服务 uri,例如 cooudflared。我使用了 dnscrypt 代理
  • @Ciastopiekarz 是的!

标签: dns coredns doh


【解决方案1】:

https://.:443 tls://.:853 {

tls plugin/tls/test_cert.pem plugin/tls/test_key.pem plugin/tls/test_ca.pem

cache

forward . 8.8.8.8:53 {
    prefer_udp
}

}

【讨论】:

    猜你喜欢
    • 2022-12-18
    • 1970-01-01
    • 1970-01-01
    • 2019-11-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多