Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
  • Would my machine function correctly?

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

share|improve this question

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.