Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We have a Snow Leopard Mac, play Warcraft 3 and the router is an Asus RT-G32.

Situation is so: The task is to forward requests going to europe.battle.net to another IP address. I have no idea how to do it in OS X. The question is – how to spoof DNS name (or IP), and change it to another?

Hosts file has no luck :(

Man, it's not working (ip is europe.battle.net ip):

new gateway ip
new gateway ip
new gateway ip
new gateway ip
new gateway ip
new gateway ip
new gateway ip

no result :( - it still address to europe.battle.net

share|improve this question
"very stupid, very unclean"... I like the disclaimer :) I wish I knew the answer. –  Flimzy Jun 24 '11 at 20:59

1 Answer 1

You need to modify the host file on you system. You can find the instructions here.

Edit the /private/etc/hosts file.

Add a line the the file in such a manner:

New IP(or host) Old IP(or host): localhost
share|improve this answer

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.