How to change the DNS address of iPhone through the program

I like changing the DNS address of the iPhone through my application. Is it possible? Anyone who let me know how I can do this will be very helpful. Thanks in advance.

+5
source share
3 answers

If by the DNS address you mean the IP address of the DNS server that iPhone uses for queries in order to resolve the domain name that you provide, then this is not possible on the device without jailbreaking. The DNS server IP address is provided via iPhone via DHCP. Therefore, you will have to change the DHCP settings in the network configuration to which you are connecting, for example. Wi-Fi hotspot.

IP-, iPhone (, , DNS), DHCP . IP- iPhone DHCP , , DNS- .

+1

, . , , IP-, ?

reset IP-, , IP- , . "reset", . ,

0

google up netinfo + dns iphone

-1

All Articles