Use resolved in local DNS server if available

This commit is contained in:
世界
2025-08-15 23:31:01 +08:00
parent 0bd98a300f
commit 1c846df903
5 changed files with 215 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
//go:build !linux
package local
import (
"context"
"os"
"github.com/sagernet/sing/common/logger"
)
func NewResolvedResolver(ctx context.Context, logger logger.ContextLogger) (ResolvedResolver, error) {
return nil, os.ErrInvalid
}