Could not get valid ECH config through DNS
Operating system
Windows
System version
Windows 11, 25H2, 26200.8737
Installation type
zip
Version
1.1.6
Description
Could not get valid ECH config through DNS, type 65 record doesn't meet the result of dig. Throne: alpn=“h2”, ipv4hint=“xxx”, ipv6hint="xxx" dig: alpn="h3,h2", ipv4hint="xxx", ech="xxxxxx", ipv6hint="xxx"
Reproduction
Enable DNS routing, add ECH domain as direct in routing. Enable ECH in profile, in my case using vless over wss and cloudflare managed ECH. Error log “no ECH config found in DNS records”.
Logs
INFO[0004] [2499799332 41ms] dns: cached HTTPS cloudflare-ech.com. 295 IN HTTPS 1 . alpn="h2" ipv4hint="104.18.10.118,104.18.11.118" ipv6hint="2606:4700::6812:a76,2606:4700::6812:b76"
INFO[0004] [2499799332 41ms] dns: cached OPT OPT PSEUDOSECTION: EDNS: version 0 flags: udp: 1232
ERROR[0004] [2499799332 41ms] connection: open connection to lg.dmit.sh:443 using outbound/vless[proxy]: no ECH config found in DNS records
I am not familiar with configuring sing-box for ECH. If you know what needs to be done, please explain it.
I'm sorry, maybe Kaspersky or something is altering my type 65 responses. I was using a linux vm for the dig test since bind no longer provides binary for windows. Tested on windows using doggo, and the result matched the error log.