• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mac hostname

 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I run Snow Leopard.
When I run the "hostname" command in a terminal, strangely (for me) I get machineName.local On my Ubuntu I get machineName only. What is this .local?

I tried System Preferences->Sharing There, it properly shows as machineName. However, when I click the edit button for "Computers on your local network can access your computer at: machineName.local" I am unable to get rid of the .local.

I was trying to test one of the web apps I am working on. Tomcat and browser run on the Mac itself.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The .local suffix is standard for Bonjour, OS X's zero-config network discovery mechanism.
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the wiki link
If a computer running Mac OS X is not assigned a domain name by the DNS server, it will identify itself as hostname.local.

(Quoting here so that future users can benefit)

Thank you Bear.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic