当前位置: 动力学知识库 > 问答 > 编程问答 >

iOS 9.3 VPN On Demand ignores RequiredDNSServers

问题描述:

We have an app which works well on iOS 9.2, it use the feature RequiredDNSServers of VPN On Demand. But when upgrade to 9.3 (9.3 all versions, including 9.3.2 beta 4), VPN On Demand just ignore RequiredDNSServers.

We submitted a bug to Apple and got response that There is nothing Developer Technical Support can help, you should connect general VPN support which is supported by AppleCare

I am using the same mobile configuration on iOS 9.2 and iOS 9.3 but get totally opposite result. But the document didn't indicate they have made API change. As far as I know, it should be a bug instead of an issue AppleCare can handle. We are contacting AppleCare for help and get no response yet.

I'm asking this question hoping to get some advice which Apple department I should ask for help?

Here is some code snippet of our mobile configuration.

Expected result:

When loading google.com, it should first check 8.8.8.8 for DNS result.

Actual result:

It will not request 8.8.8.8 for DNS result and will start VPN connection immediately.

Mobile configure snippet:

<key>OnDemandEnabled</key>

<integer>1</integer>

<key>OnDemandRules</key>

<array>

<dict>

<key>Action</key>

<string>EvaluateConnection</string>

<key>InterfaceTypeMatch</key>

<string>Wifi</string>

<key>ActionParameters</key>

<array>

<dict>

<key>Domains</key>

<array>

<string>www.google.com</string>

</array>

<key>RequiredDNSServers</key>

<array>

<string>8.8.8.8</string>

</array>

<key>DomainAction</key>

<string>ConnectIfNeeded</string>

</dict>

</array>

</dict>

</array>

分享给朋友:
您可能感兴趣的文章:
随机阅读: