How to Resolve DNS via Cellular Network

I'm looking for APIs on iOS to resolve DNS via Cellular network when WiFi is also connected. As I connect my iPhone to WiFi, DNS will be resolved via WiFi not Cellular.

Low level APIs are preferred.

On Android, "android_getaddrinfofornet" can do this job, but I have no idea for iOS.

Thanks!

Posted on Sep 8, 2021 11:36 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to Resolve DNS via Cellular Network

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.