Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

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    213.248.106.65
new gateway ip    213.248.106.66
new gateway ip    213.248.106.67
new gateway ip    213.248.106.68
new gateway ip    213.248.106.200
new gateway ip    213.248.106.201
new gateway ip    213.248.106.202

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

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):

127.0.0.1 localhost
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .