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

This commit is contained in:
世界
2025-10-16 23:25:34 +08:00
parent 3dc285be8c
commit fce21607bd
3 changed files with 39 additions and 15 deletions

View File

@@ -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
}