mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
The DNS form's placeholder offered https://dns.google/dns-query, the service turned https:// into protocol "https" and quic:// into "quic", and the DNS module handed those to a miekg/dns client, which speaks udp, tcp and tcp-tls only. Saving succeeded and every query on that rule then failed, visible only in the log. CheckDnsUpstream in kernel/v2ray accepts an address, tcp://, udp:// and tls:// (DNS over TLS, which the module does support) and rejects https:// and quic:// with a message that names the alternatives; PutDnsRules returns it as a 400 before anything is stored. The placeholder in the six locales shows the supported forms and the docs say which schemes work. Verified on the VM: https:// and quic:// rules come back BAD_REQUEST with the message, tls://1.1.1.1 saves and the module logs addr=1.1.1.1:853 protocol=tcp-tls; the previous rules restore unchanged.