0

Everytime I change the Hostname of my mac it starts to work but doesn't forget the old Hostname. For example:

  • hostname: example.com
  • ping example.com - it points to my computer
  • so, I change hostname to example.local
  • ping example.com - it still points to my computer

What is wrong?

I've tried to flush DNS, change using command changeip, use the server.app for OS X Lion, etc.

Thanks.

2
  • Classic culprits are /etc/hosts and your DHCP server. Worth double-checking those.
    – ckhan
    Jan 18, 2013 at 6:20
  • are you pinging from your mac to yourself? or from a different computer?
    – omercnet
    Jan 18, 2013 at 18:18

1 Answer 1

0

Under System Preferences > Network > Advanced > DNS, DNS Servers were set to 127.0.0.1. Strangely it was the problem.

I solved this just removing it clicking on - at the bottom of the list. Automatically it set to the right DNS Server.

You must log in to answer this question.

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