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
  • Would my machine function correctly?

  • Would other machines on the network be able to ping mine by name?

share|improve this question
up vote 3 down vote accepted

Would my machine function correctly?

Yes.

Would other machines on the network be able to ping mine by name?

Depends on the specific method other machines currently use to resolve your host name into your IP address.

  • plain localhost using DNS or NetBIOS:

    • On Windows, localhost would always resolve to the loopback address, since "localhost" is hardcoded in the resolver.

    • On Linux, the exact results depend on the contents of /etc/hosts and /etc/nsswitch.conf. However, on 99% of Linux systems, localhost always resolves to the loopback address, since nsswitch gives priority to /etc/hosts.

  • localhost.local using mDNS (Avahi, Bonjour):

    • Would keep working and resolve to your PC's address, since it is different from localhost and does not get any special treatment.
  • localhost.yourdomain:

    • Would keep working, since it is different from localhost and does not get any special treatment.
share|improve this answer

You must log in to answer this question.

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