Host name resolution on a home network

11

I have several machines, both virtual and physical, in my home network. Currently I have to connect to each machine via IP address. The one main machine I connect with to all the other machines is running Windows Vista.

Is there a way I can have some sort of DNS capability inside my network so I can refer to these machines with a name instead of IP?

I think this would be a common problem in most households (running a few computers) and I think there might be some simple solutions out there. This would be something most routers should support out of the box - but why don't they?

Can anyone recommend some of these or an easy way to accomplish this?

Kris

Posted 2010-03-12T20:43:44.557

Reputation:

Answers

6

WINS/NetBIOS is the traditional distributed "workgroup DNS" for small private networks. It's why you can see other computers in the "Network" on Windows.

If you have static IPs and don't change around your VMs or computers, then just making a quick hosts file and distributing that is a quick, easy and once over fix. "Visiting laptops" won't resolve to that of course.

http://en.wikipedia.org/wiki/Hosts_file

Afterthought: If these are Windows computers, then simply enabling Network browsing, and file and printer sharing should do the trick.

Gomibushi

Posted 2010-03-12T20:43:44.557

Reputation: 201

3Sorry, but that's not dynamic name resolution. That's explicit name assignment in a hosts override file. If the IP address of one of your devices changes, this won't work. – John Kaster – 2011-01-26T04:03:02.500

3

DD-WRT might be the solution for this problem, from their About page:

DD-WRT is a third party developed firmware released under the terms of the GPL for many ieee802.11a/b/g/h/n wireless routers

It has a large set of features, including a small DNS server Dnsmask, which is bescribed as:

It is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file.

Here is the tutorial from their website on how to do that: DNSMasq As DHCP Server

Redder

Posted 2010-03-12T20:43:44.557

Reputation: 31

1

Many routers do support this. Try to use telnet (or maybe ssh, if it supports that) to connect to your router, and look for a dns menu.

Chris Lercher

Posted 2010-03-12T20:43:44.557

Reputation: 592

2Most also have a web interface. Point your browser to it. – Keith – 2011-04-15T05:35:54.160

1

Microsoft's LLMNR in Vista and Windows 7 is supposed to do this. Is it not working?

IETF Zeroconf (which is implemented by Apple as "Bonjour", and implemented by the Linux/FOSS community as "Avahi") also does this, via multicast DNS (mDNS). Installing Bonjour for Windows on all the relevant machines might give this to you.

Spiff

Posted 2010-03-12T20:43:44.557

Reputation: 84 656