refactor: Rename project from dns-helper to ekdns across all files and documentation
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"dns-helper/platform"
|
||||
"ekdns/platform"
|
||||
)
|
||||
|
||||
// Resolve performs DNS resolution for hostname using the specified mode and config.
|
||||
@@ -247,7 +247,7 @@ func addPrivateTLDHint(hostname string, origErr error) error {
|
||||
tld := strings.ToLower(parts[len(parts)-1])
|
||||
if PrivateTLDs[tld] {
|
||||
return fmt.Errorf(
|
||||
"%w\n Hint: the hostname uses a private TLD (.%s). Try specifying an internal DNS server:\n dns-helper add -host %s -server <internal-dns-ip>",
|
||||
"%w\n Hint: the hostname uses a private TLD (.%s). Try specifying an internal DNS server:\n ekdns add -host %s -server <internal-dns-ip>",
|
||||
origErr, tld, hostname)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user