Why does my hostname keep getting a -2 at the end

Discussion in 'OS X Yosemite (10.10)' started by snarfquest, Oct 7, 2014.

  1. snarfquest macrumors regular

    Joined:
    Jun 7, 2013
    #1
    Everyday my hostname changes for some reason I haven't been able to figure out. It's been doing it since the first beta's of Yosemite. It keeps getting a -2 (dash two) on the end.

    Really makes a mess of back-to-my Mac..
     
  2. fisherking macrumors 603

    fisherking

    Joined:
    Jul 16, 2010
    Location:
    ny somewhere
    #2
    happening to a lot of us... (i get (2) or (3). annoying...
     
  3. MacsRgr8 macrumors 604

    MacsRgr8

    Joined:
    Sep 8, 2002
    Location:
    The Netherlands
    #3
    Hostname or computer name?

    The hostname is typically the name of the computer by given by the DNS server, something like "imac1.company.private".

    The computer name (Bonjour name) is in this example something like "iMac-1" (note the capitals and the "-").
    If another device on the same network also is called iMac-1, then that second device will be called iMac-1(2).
     
  4. bkribbs macrumors 65816

    Joined:
    Jan 15, 2012

Share This Page