feat(ednsdiag): support custom DoH endpoint via --url

Allow overriding the provider preset with an explicit HTTPS DoH URL,
including validation that custom endpoints apply only to DoH queries.
This commit is contained in:
windyboy
2026-08-13 15:34:54 +08:00
parent 5b0f7950e6
commit 6f8a4918f0
3 changed files with 17 additions and 1 deletions
@@ -6,6 +6,7 @@ type QueryOptions struct {
Protocol string
Provider string
Method string
EndpointURL string
}
type Result struct {