• Re: Host name changing on its own

    From Stephen C.@nobodyNOSPAM@comcast.net to comp.sys.mac.system on Friday, April 07, 2006 10:28:30
    From Newsgroup: comp.sys.mac.system

    On Thu, 6 Apr 2006 13:53:59 -0700, Marco De Vitis wrote
    (in message <HdfZf.71249$A83.1702818@twister1.libero.it>):

    Stephen C. ha scritto:

    Just a guess, but do you use a German DSL connection? If so, I'd say that >> somehow the dsl modem is setting the hostname. Disconnecting the dsl modem >> from the LAN would tell you if the modem was the culprit.

    No, I have an Italian ADSL connection. I connect through a wi-fi router (Zyxel 660HW).
    The connection must be related to my problem somehow, because indeed if
    I disable the AirPort card and then set the iBook to sleep and wake it
    up again, the hostname does NOT change.
    Instead, it is changed even if I simply disable AirPort and enable it
    again. So it seems the change happens whenever the connection to the
    router goes up.

    Unfortunately, I can't find anything at all in the router configuration which might be related to this problem. DHCP is disabled, the only
    active LAN<->WAN rules in the firewall are the ones I did set myself,
    any "do-it-automatically" stuff is disabled... I really don't know where else can I look.
    What's more, even supposing that my iBook is being assigned this name
    from the outside (router or WAN), there *should* be a way to disable
    this behaviour in MacOS itself.



    Unfortunately you are getting above my abilities. I do not know exactly why your iBook would pull a host name from the dsl modem, or how to keep it from doing so. Good luck, though!

    StephenC.

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Simon Slavin@slavins.delete.these.four.words@hearsay.demon.co.uk to comp.sys.mac.system on Friday, April 07, 2006 22:09:47
    From Newsgroup: comp.sys.mac.system

    On 05/04/2006, Marco De Vitis wrote in message <7CWYf.69002$PR2.1116153@twister2.libero.it>:

    I've correctly set up my chosen hostname in Sharing preferences, and it
    is correctly applied upon system boot. But when I put the iBook to sleep
    and then wake it up again the hostname is changed to
    "dslcore.surfplus.de", which I absolutely have no idea where it comes
    from. I noticed this thanks to my custom Terminal prompt, which shows
    the current hostname (and entering "hostname" returns "dslcore.surfplus.de"); I couldn't find this name elsewhere in my system.

    The Mac is using a particular numeric IP address. When it starts to use
    that address it looks it up and find the name assigned to that address.
    It then adopts that name as its own.

    To get rid of that address, use a different numeric IP address for your Macintosh.

    Simon.
    --
    http://www.hearsay.demon.co.uk
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Marco De Vitis@starless@spin.it to comp.sys.mac.system on Friday, April 07, 2006 22:48:32
    From Newsgroup: comp.sys.mac.system

    Simon Slavin ha scritto:

    The Mac is using a particular numeric IP address. When it starts to use
    that address it looks it up and find the name assigned to that address.
    It then adopts that name as its own.

    To get rid of that address, use a different numeric IP address for your Macintosh.

    Thanks, the trick works, although I can't see how on earth can the name "dslcore.surfplus.de" be assigned to the private IP 192.168.1.1 my
    machine had (now I'm using .4)... 8-/

    --
    Ciao,
    Marco.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Marco De Vitis@starless@spin.it to comp.sys.mac.system on Sunday, April 09, 2006 09:05:44
    From Newsgroup: comp.sys.mac.system

    Marco De Vitis ha scritto:

    Thanks, the trick works, although I can't see how on earth can the name "dslcore.surfplus.de" be assigned to the private IP 192.168.1.1 my
    machine had (now I'm using .4)... 8-/

    I found that the public DNS I was using as primary had a record pointing
    to dslcore.surfplus.de from IP 192.168.1.1. So that's why that hostname
    was being assigned to my iBook having that same IP.

    I now changed my primary DNS, also because that one does not seem to be
    in use anymore (it was one of the two public servers on www.orsn.org,
    and surely was there recently, but it's not there anymore now), and I
    can finally go back to my 192.168.1.1 IP without being assigned any
    foreign name.

    Thanks for the pointer.

    --
    Ciao,
    Marco.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Simon Slavin@slavins.delete.these.four.words@hearsay.demon.co.uk to comp.sys.mac.system on Monday, April 10, 2006 23:49:01
    From Newsgroup: comp.sys.mac.system

    On 07/04/2006, Marco De Vitis wrote in message <4%BZf.72309$PR2.1171277@twister2.libero.it>:

    Simon Slavin ha scritto:

    The Mac is using a particular numeric IP address. When it starts to
    use that address it looks it up and find the name assigned to that
    address. It then adopts that name as its own.

    To get rid of that address, use a different numeric IP address for your Macintosh.

    Thanks, the trick works, although I can't see how on earth can the name "dslcore.surfplus.de" be assigned to the private IP 192.168.1.1 my
    machine had (now I'm using .4).

    This is just a guess. The organisation 'surfplus' has their own private
    name server which allows them to name their own computers. They have
    their own computer called 'dslcore' purely for their own use, inside their
    own network. Their name server has a configuration error and is leaking
    this name, meant for internal use only, to other name servers outside
    their system.

    Simon.
    --
    http://www.hearsay.demon.co.uk
    --- Synchronet 3.18b-Win32 NewsLink 1.113