Click to See Complete Forum and Search --> : nmb, dns and /etc/hosts


tecknophreak
10-18-2006, 07:54 AM
I've got a question when it comes to nmb. I can see others on the network using, konqueror(lan://localhost), linneighborhood, or nmblookup, so I can resolve names to IP addresses this way. Why is it that after that, I can't just type in ssh computername or type computername into firefox?

Is there currently a method where we can do that? Where the name/ip resolution occurs as, say /etc/hosts, nmb then dns.

dkeav
10-18-2006, 11:20 AM
nmb is only going to deal with samba connections, so you need your dns server for your network seutp properly to update dynamically its clients with your dhcp server

if you havnt done any of that, have a look at dnsmasq its a turn key solution to this setup it provides both dhcp and ddns for your network and is quite easy to setup

tecknophreak
10-18-2006, 01:46 PM
From what I read, DNSMASQ loads it's own /etc/hosts file for the local DNS resolution, right? Then you have to edit that file everytime a new computer comes on the network, right?

dkeav
10-19-2006, 12:22 AM
no local dns resoultion is done via dnsmasq loading things into /etc/hosts is a way to override those settings, dnsmasq is a dhcp/dns server so if you use dhcp on your network it can replace your dhcp server and additionally provide dynamic dns services for your LOCAL network