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 and so forth. However, by design, your local machine will cache its DNS resolution, and will usually use the same IP address over and over, until it expires (Time To Live, TTL).

Leave a Comment