hysteria icon indicating copy to clipboard operation
hysteria copied to clipboard

[WIP] feat: add DoQ Method in dns resolver

Open HynoR opened this issue 10 months ago • 5 comments

Now Hysteria can use DoQ Server in resolver. But the code still need to be improved and tested. About DoQ: https://adguard-dns.io/zh_cn/blog/dns-over-quic.html

config example:

resolver:
  type: quic
  quic:
    addr: dns-unfiltered.adguard.com:853  # or  000000.dns.nextdns.io
    # sni: dns-unfiltered.adguard.com
    # If there are no special requirements,  leave it blank and the hostname in Addr will be used automatically.
    insecure: false

result: image

~既然都有quic-go了,那么干脆也把DoQ DoH3带上吧~

TODO:

  • Quic Conntection Management
  • DoQ stability Test
  • DoH3 Support

HynoR avatar Mar 27 '24 06:03 HynoR

感谢。这个是还没完成吗?感觉需要处理连接断开重连的情况,不能就一个连接永远用下去。。

tobyxdd avatar Mar 28 '24 21:03 tobyxdd

感谢。这个是还没完成吗?感觉需要处理连接断开重连的情况,不能就一个连接永远用下去。。

work in progress啦,doq我自己写完测了还行但是运行久了还是有报错和所以先把草稿和想法发出来看看意见。 如果没问题的话,我是准备doq和doh3都完成了才决定合并。

HynoR avatar Mar 29 '24 00:03 HynoR

现在改成draft了,我去研究一下同行的doq方向的代码

HynoR avatar Mar 29 '24 03:03 HynoR

Hi ! When will DoQ & DoH3 be operative ?

empireofpersia avatar Jul 18 '24 09:07 empireofpersia

I'll be back when I'm finished with my formal work.

HynoR avatar Jul 25 '24 01:07 HynoR