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.

I have several machines (both virtual and physical) in my internal network at home. Currently I have to connect via 1P addresses. 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 as well so I can refer to these machines with a name? 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?

share|improve this question

migrated from serverfault.com Mar 12 '10 at 21:13

This question came from our site for professional system and network administrators.

add comment

4 Answers

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.

share|improve this answer
2  
Sorry, 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 Jan 26 '11 at 4:03
add comment

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

share|improve this answer
add comment

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.

share|improve this answer
1  
Most also have a web interface. Point your browser to it. –  Keith Apr 15 '11 at 5:35
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

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