If your application will work in an environment in which they can reach the desired IP address but cannot trust the DNS, then you can hardcode the application to use the target, and then add the “fault tolerant server” preloader, which you send if you plan move the IP address.
When moving, you must also release an update with new addresses in the new version.
This approach has many limitations ... and I think that larger assumptions about the network may not make sense (if they block DNS, it seems unlikely that you will have a good connection with IP addresses).
, , , iOS . .