[client] Prioritze the local resolver in the dns handler chain (#3965)

This commit is contained in:
Viktor Liu
2025-06-17 14:02:30 +02:00
committed by GitHub
parent 424ae28de9
commit 75c1be69cf
4 changed files with 183 additions and 70 deletions

View File

@@ -11,9 +11,10 @@ import (
)
const (
PriorityDNSRoute = 100
PriorityMatchDomain = 50
PriorityDefault = 1
PriorityLocal = 100
PriorityDNSRoute = 75
PriorityUpstream = 50
PriorityDefault = 1
)
type SubdomainMatcher interface {