GithubHelp home page GithubHelp logo

DoQ DoH/3 支持 about smartdns-rs HOT 8 OPEN

yoshyv avatar yoshyv commented on September 27, 2024
DoQ DoH/3 支持

from smartdns-rs.

Comments (8)

mokeyish avatar mokeyish commented on September 27, 2024

你说的是监听? 上游服务器是支持的。配置兼容,但功能不一定实现。

from smartdns-rs.

yoshyv avatar yoshyv commented on September 27, 2024

对,就是 bind 的 doq 写法。
具体哪些 c smartdns 的功能不支持呢?

from smartdns-rs.

mokeyish avatar mokeyish commented on September 27, 2024

看代码是 bind-quic

https://github.com/mokeyish/smartdns-rs/blob/main/src/config/parser/listener.rs#L107-L108

你试一下,我也没实际用这功能。

监听 H3,应该不行的,代码都没写。

from smartdns-rs.

yoshyv avatar yoshyv commented on September 27, 2024

最新release 0.7.2 版本。

bind-quic :8530
bind-cert-file /etc/letsencrypt/cert.pem
bind-cert-key-file /etc/letsencrypt/key.pem

配置能正常读取,但是实际测试没法查询。设置debug level也没看到相关日志
lsof 可以看到端口正常监听
smartdns 357117 test 9u IPv4 4430893 0t0 UDP *:8530

另外使用 c smartdns 配置时候发现两个问题:
一个是上游 DNS 是 IPv6 地址会报错
unknown conf: server-tls 2606:4700:4700::1111, Error(Error { input: "-tls 2606:4700:4700::1111", code: Space })
然后 log-console 这个配置也没有识别
unknown conf: log-console yes, Error(Error { input: "log-console yes", code: Tag })

from smartdns-rs.

mokeyish avatar mokeyish commented on September 27, 2024

配置解析的问题,我周末有时间修复一下。

你DoH测试了么?我自己主要用这个,可以通过 cloudflare 的ECH 检查

from smartdns-rs.

yoshyv avatar yoshyv commented on September 27, 2024

DoH 没有测试了(因为说不支持 DoH3)
现在是用 c smartdns 的 DoT

from smartdns-rs.

mokeyish avatar mokeyish commented on September 27, 2024

监听 DoH3 短时间难以支持,hyper 现在虽然开发了 h3,但没有集成 h3。但监听 DoH,DoT 都是支持的,我测试过的。DoQ不确定。

from smartdns-rs.

mokeyish avatar mokeyish commented on September 27, 2024

配置解析的问题,已经解决了

from smartdns-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.