qiniu / happy-dns-objc

dns library for objective c
MIT License
501 stars 83 forks source link

IPV6网络和Https都不支持么 #45

Open dongwei123 opened 7 years ago

dongwei123 commented 7 years ago

[QNDnsManager needHttpDns] 、[QNDnsManager setGetAddrInfoBlock:^NSArray (NSString host) { return [dns query:host]; }]; 没有这2个函数呢

longbai commented 7 years ago

麻烦升级下版本看下

zhengwu119 commented 7 years ago

iOS9下开启ATS访问 119.29.29.29无法访问。

dongwei123 commented 7 years ago

你好,因为从2017年1月1日起,Apple要求全面支持https,这样的话这个库就没法用了,能更新一版么?

发自网易邮箱 iPhone 版 在2016年12月10日 18:18,zhengwu119 写道:

iOS9下开启ATS访问 119.29.29.29无法访问。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

lilac commented 7 years ago

同有此需求,望重视。 有两个解决方案:

  1. 增加支持https的服务商,目前好像只有阿里的支持
  2. 使用第三方网络库绕开ATS的限制。
longbai commented 7 years ago

后面会改成自己的socket 函数去取