feat: support system dns

This commit is contained in:
sleshep
2023-04-26 15:57:55 +08:00
committed by Larvan2
parent 19b403da86
commit d6931ec491
4 changed files with 57 additions and 1 deletions

7
dns/system_windows.go Normal file
View File

@@ -0,0 +1,7 @@
//go:build windows
package dns
func loadSystemResolver() (clients []dnsClient, err error) {
return nil, errors.New("system resolver is not yet supported on Windows")
}