mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
Rename DNS to DnsUtils
This commit is contained in:
@@ -61,7 +61,7 @@ namespace Netch.Controllers
|
||||
// 刷新DNS缓存
|
||||
NativeMethods.FlushDNSResolverCache();
|
||||
|
||||
if (DNS.Lookup(server.Hostname) == null)
|
||||
if (DnsUtils.Lookup(server.Hostname) == null)
|
||||
throw new MessageException(i18N.Translate("Lookup Server hostname failed"));
|
||||
|
||||
// 添加Netch到防火墙
|
||||
|
||||
Reference in New Issue
Block a user