Does hosts file exist on the iPhone? How to change it? [closed]

Another option here is to have your iPhone connect via a proxy. Here’s an example of how to do it with Fiddler (it’s very easy): http://conceptdev.blogspot.com/2009/01/monitoring-iphone-web-traffic-with.html In that case any dns lookups your iPhone does will use the hosts file of the machine Fiddler is running on. Note, though, that you must use a name … Read more

Is it possible to have round-robin DNS with /etc/hosts file?

dnsmasq inludes Round-robin DNS out-of-the-box > egrep -m1 ‘^nameserver’ /etc/resolv.conf nameserver 127.0.0.1 > grep -i rrtest /etc/hosts 1.1.1.1 rrtest 2.2.2.2 rrtest > /etc/init.d/dnsmasq restart Shutting down dnsmasq: [ OK ] Starting dnsmasq: [ OK ] > nslookup rrtest Server: 127.0.0.1 Address: 127.0.0.1#53 Name: rrtest Address: 2.2.2.2 Name: rrtest Address: 1.1.1.1 > nslookup rrtest Server: 127.0.0.1 … Read more

Point multiple IP addresses to a single host name

Normally you would not uses hosts to do this, but your DNS. Most DNS will provide what’s called a “Round Robin” if you assign multiple A records to the one name in the zone. What it would do then, is the first request comes through would receive 192.168.244.128, the next would receive 192.168.226.129, so on … Read more