Use a more conservative strategy for resolving with systemd-resolved for local DNS server

This commit is contained in:
世界
2026-01-17 05:46:23 +08:00
parent 3dc285be8c
commit fce21607bd
3 changed files with 39 additions and 15 deletions
@@ -9,6 +9,10 @@ import (
"github.com/sagernet/sing/common/logger"
)
func isSystemdResolvedManaged() bool {
return false
}
func NewResolvedResolver(ctx context.Context, logger logger.ContextLogger) (ResolvedResolver, error) {
return nil, os.ErrInvalid
}