fix(updater): only uses DoH to cloudflare+google

- prevent dns plaintext manipulation both the periodic update and when running in cli mode
- possibly higher reliability on poor connections versus UDP
- drop `-dns` flag in update command
- for now no configuration allowed since it makes everything rather complex
This commit is contained in:
Quentin McGaw
2026-03-06 21:01:52 +00:00
parent 457e5597bb
commit b7735ecc00
7 changed files with 47 additions and 37 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ type Parallel struct {
repeatResolver *Repeat
}
func NewParallelResolver(resolverAddress string) *Parallel {
func NewParallelResolver(dialer Dialer) *Parallel {
return &Parallel{
repeatResolver: NewRepeat(resolverAddress),
repeatResolver: NewRepeat(dialer),
}
}