feat(dns): add parallel query (#5239)

This commit is contained in:
Meow authored and GitHub committed 2025-11-21 05:45:42 +00:00
1 parent cd51f57535
commit f14fd1cbee
14 files changed
+422 -121

No files matched your search

+5
View File
@@ -35,6 +35,11 @@ func (s *LocalNameServer) Name() string {
return "localhost"
}
// IsDisableCache implements Server.
func (s *LocalNameServer) IsDisableCache() bool {
return true
}
// NewLocalNameServer creates localdns server object for directly lookup in system DNS.
func NewLocalNameServer() *LocalNameServer {
errors.LogInfo(context.Background(), "DNS: created localhost client")