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

My computers have local IP addresses such as 192.168.0.X. And many of the computers have names such as "MyPC" or "YourPC" etc.

It seems on Windows, in most cases, just using "MyPC" instead of the full IP seems to be working. But I also have a Mac and lots of Android devices. Most of the programs on those machines (not all of them, though) do not understand such names, and require full IP. Typing full IP is tyring.

1)Do I have to maintain my own DNS server to make "MyPC" work on all devices? My router does not have DNS server features and it only allows to change the DNS server.

2)Isn't there any shorthand notation to omit "192.168.0." part? All my local IP start with that, and it seems quite stupid to type it every single time. Can't there be something like ".1" instead of ""?

share|improve this question
up vote 3 down vote accepted
  1. The reason windows machines allow you to simple type in the computer name is because windows supports 'netbios name resolution'. I've been able to get this working on Linux. You could look at getting it working on your other machines by installing additional software. (samba?)

  2. You can add each name to your HOSTS file., but you'll have to make this change on every machine

  3. Hosting a DNS server isn't as hard as you may think. You may already be doing it. My router does this for me automatically. You could browse your router settings looking for static addresses or anything of that nature and see if you can assign a name to a specific ip address.

    I use OpenWRT for my router. You could see if your router is supported.

share|improve this answer
So, I have to run my own DNS server. Thank you. – Sin Jeong-hun Aug 12 '13 at 12:11
Come to think of it, I may look into iPv6. As far as I remember, it provides shorthand notation such as "::1". – Sin Jeong-hun Aug 12 '13 at 12:13


  1. You can edit your hosts file. Still it a lot of work to keep it updated to many devices. Take a look here.

  2. You cant use just "1" cause the information contained in the ip is more than just the location of the machine take a look here This has to do with CIDR wich is the manner how IPs are distributed in the world. A good explanation is provided in this wikipedia article.

share|improve this answer

You must log in to answer this question.

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