I have a few Windows computers and two Mac computers all on the same router. The Windows computers can find each other by hostname just fine, so for example a UNC path of \\HOSTNAME\SHARE would resolve without error. I suppose the Windows computers are still using some kind of NetBIOS over TCP/IP to pull this off or something, surely they must be broadcasting hostname resolution requests to the subnet. But when I'm on the Macs, I have to "sudo vim /etc/hosts" to statically set the IP address of each of the Windows computer if I want to connect to a Windows share via SMB as smb://HOSTNAME/SHARE. Fortunately, my router exposes the DHCP clients in a browseable table at http://192.168.1.1/DHCPTable.asp (<< this URL will only resolve on my network, or on yours if you have a Cisco-Linksys E4200 or other router with a similar web admin and a 192.168.1.0 subnet).
Anyway, I was just wondering if there was some way to automate this on the Mac, so that either DNS resolution goes through some kind of configurable filter that might do NetBIOS or something, or else that automatically updates the entries in /etc/hosts somehow.
I suppose ideally the router should do this in a dynamic DNS implementation so that the Mac would prioritize the router as its DNS resolver and the router would check its DHCP clients table first, but I don't think mine does. (Again, it's a Cisco-Linksys E4200.) EDIT: Actually, this router does support DDNS but it's for public DDNS not local DDNS as with WINS.