Name resolution in small network

Joep L. Blom jlblom at neuroweave.nl
Sat Jul 23 06:58:47 UTC 2011


On 07/22/2011 07:48 PM, Chris G wrote:
> On Thu, Jul 21, 2011 at 01:42:45PM -0700, don fisher wrote:
>> I have a bunch of laptops currently running a mix of Linux and
>> Windoz. I have recently tried to bring up Samba so that I could
>> share files easily. With the Linux systems, I have always used
>> /etc/hosts to resolve names. But with the addition of Samba and the
>> Microsoft products, this does not work (at least as far as I know).
>>
>> I have a router that provides DHCP name resolution. If I use DHCP
>> with my Linux hosts, Windoz reads the router and resolved their IP
>> address. But I do not know how to make Linux read the router and
>> resolve the Windoz DHCP addresses.
>>
>> I have tried to purchase and read the literature, but every volume
>> appears to be around 400 pages long:-( I cannot read that fast. I
>> see references to broadcasts, WINS servers etc., all suggesting that
>> I purchase another book to discover how they work:-)
>>
>> Is there a simple DNS that I can set up that can be loaded with my
>> /etc/hosts data, read the data in the DHCP router, handle a NAS
>> device, and whatever else may be required.
>>
> dnsmasq?
>
dnsmasq is a small light DNS server > www.thekelleys.org.uk/dnsmasq/
that can run in a small environment. I use it > 10 years and it gives no 
problems.
to quote the site :
<quote>
Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP 
server. 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. 
Dnsmasq supports static and dynamic DHCP leases and BOOTP/TFTP/PXE for 
network booting of diskless machines.
<quote/>
Joep






More information about the ubuntu-users mailing list