** Terry Coles <d-...@hadrian-way.co.uk> [2011-03-11 13:40]:
> On Thursday 10 Mar 2011, Terry Coles wrote:
> > We have a system at work that uses a Linux box (Live boot) running some
> > data gathering tools.  This information is written to a web page and
> > served up to a Windows box connected 1:1, (eg no other devices) for
> > analysis.  So far so good.
> > 
> > At present the Windows box provides DHCP and the Linux box advertises it's
> > hostname.  What we would really like to do is get the current Linux box to
> > provide DHCP and DNS.  Can anyone point me at a suitable tutorial or
> > guidance to explain how to set up and configure such a system?
> > 
> > Having the Windows box do DHCP and DNS is OK, but is likely to cause us
> > problems downstream, hence the query.
> 
> Replying to myself.
> 
> Thanks for the suggestions to date (the overwhelming support for dnsmasq).  
> However, when I related this to my colleage at work he said he couldnt see 
> why 
> this (or bind) was needed because when he enabled udhcpd, he found that it 
> maintains a list of all hosts on the network so why couldn't that be used?
> 
> I didn't get a chance to look at it this morning, so I couldn't answer him, 
> but I could bear to know if what he's suggesting is possible.
> 
> Any takers?  
** end quote [Terry Coles]

I've not really used either, but it looks as though dnsmasq does both dns
forwarding and dhcp address allocation, whereas udhcpd just does the dhcp
address allocation bit.

Personally I use bind9 and dhcp3-server myself and don't find either that
complicated for a basic setup. Then again that's part of my day job and I've
got the O'Reilly DNS and Bind and Sendmail tomes on my shelves! Not that I've
used Sendmail in a long, long while as I've used Exim since it became my own
choice (i.e. not administering AIX servers).

I suspect for a home network it is simply a case of whether you need DNS
forwarding as well. You can configure dhcp to point directly to the ISPs DNS
servers rather than forwading from a local box if you prefer to use udhcpd.

-- 
Paul Tansom | Aptanet Ltd. | http://www.aptanet.com/ | 023 9238 0001
======================================================================
Registered in England  |  Company No: 4905028  |  Registered Office:
Crawford House, Hambledon Road, Denmead, Waterlooville, Hants, PO7 6NU

--
Next meeting:  Bournemouth, Tuesday 2011-04-05 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to