Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Change DNS Address Of iPhone Through Program

Tags:

iphone

I like to change DNS address of iPhone through my application. Is it possible ? Any one let me know how i can do it, it will be very helpful. Thanks in advance.

like image 515
iPhoneGuy Avatar asked Nov 25 '22 19:11

iPhoneGuy


1 Answers

If by DNS address you mean the IP address of the DNS server the iPhone uses for queries to resolve the domain name you provide, then it is not possible in a non-jailbreaked device. The IP address of the DNS server is provided to the iPhone through DHCP. So you would therefore have to change the DHCP settings in the setup of the network you connect to, eg. the Wifi access point.

If you want to change the IP address assigned to the iPhone (and possibly provided to other devices through DNS) then again you would have to modify the DHCP settings on your server. This IP address is provided to the iPhone through DHCP and possibly coordinated with the DNS server in the network.

like image 79
Claus Broch Avatar answered Feb 04 '23 02:02

Claus Broch