diff --git a/MSDKDns/CacheManager/MSDKDnsManager.m b/MSDKDns/CacheManager/MSDKDnsManager.m index 75832a9..0f0f6b3 100644 --- a/MSDKDns/CacheManager/MSDKDnsManager.m +++ b/MSDKDns/CacheManager/MSDKDnsManager.m @@ -1256,6 +1256,8 @@ - (NSArray *)defaultServers { #if IS_INTL if ([[MSDKDnsParamsManager shareInstance] msdkDnsGetEncryptType] != HttpDnsEncryptTypeHTTPS) { [servers addObjectsFromArray: MSDKDnsHttpServerIps_INTL]; + } else { + // 国际站SDK暂不支持HTTPS解析 } #else if ([[MSDKDnsParamsManager shareInstance] msdkDnsGetEncryptType] == HttpDnsEncryptTypeHTTPS) { diff --git a/MSDKDns/MSDKDns.m b/MSDKDns/MSDKDns.m index 9acc51b..c5d889d 100644 --- a/MSDKDns/MSDKDns.m +++ b/MSDKDns/MSDKDns.m @@ -482,7 +482,6 @@ - (NSDictionary *) WGGetDnsDetail:(NSString *) domain { } - (int) WGGetNetworkStack { - int type = [[MSDKDnsManager shareInstance] getAddressType]; return [[MSDKDnsManager shareInstance] getAddressType]; }