[Dnsmasq-discuss] Re : [suggestion] tiny embedded web server
v_cadet at yahoo.fr
Thu Jan 27 10:03:25 GMT 2011
>De : Christ Schlacta <lists at aarcane.org>
>do like this idea, hope it gets approved!
>On 1/26/2011 14:38, Cristian Măgherușan-Stanciu wrote:
>>I still had to run a web server (yeah, I know there are plenty of small
>>ones), so for such use cases it would be great if dnsmasq had a small
>>web server embedded that would be able to serve static content from a
>>directory if configured to do so, similar to the TFTP server that is
>>What do you guys think about this?
It is not a good idea as it is against UNIX philosophy, mostly. (I.e. do a
program that does one task but does it really well.)
Embedding a web server in an IP address managing software (forgive me this rough
simplification) is inappropriate. DNSmasq embeds a DHCP, DNS and TFTP server
because these are services that closely relate with each other and dnsmasq does
its task really well. A web server is best handled by an application designed to
be a web server. Both are domains of application that have not enough in common
to merge them all. You might need a dedicated web service for your needs, such
as lighttpd or nginx.
More information about the Dnsmasq-discuss