Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I intend to change my organization IP CLASS from CLASS A or CLASS B for 250+nodes. I need to know if I can map a single host name for 2 different IP’s in the host file.

For Example.

Thanks and I look forward to hear from you soon.

share|improve this question

Yes, you can, but you won't get the round-robin effect that DNS normally provides -- once the first entry is encountered in your "hosts" file, the search [for the matching hostname] will end and this is what will be used.

share|improve this answer
+1 Though it seems that the pragmatic answer is actually "no". – msanford Apr 14 '11 at 23:34
@msanford: Good point. I chose to go with a "yes" though just in case a future version of some OS actually incorporates support for this sort of thing (that's definitely "wishful thinking" on my part, although this would be an interesting feature). – Randolf Richardson Apr 15 '11 at 5:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.