<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature"><div>DnsMasq authors, please explain this better than I can... but here's my understanding: The limit on number of clients on your network will be bounded by DnsMasq's concurrency rate, not necessarily the sheer number of clients. DnsMasq is single threaded and uses a simple select() fd_set loop (<a href="http://daniel.haxx.se/docs/poll-vs-select.html">http://daniel.haxx.se/docs/poll-vs-select.html</a>) which means it takes a bunch of file sockets in (I assume each UDP request is a socket) then it processes them all and returns control to the OS. 1024 seems to be the limit on linux, so I imagine once you approach that many concurrent requests I imagine packets will simply be dropped since it's UDP.</div><div><br></div><div>With a network of 400 average business users, we see spikes to 200+ UDP pps, steady state is around 70-80 pps.</div><div><font face="arial, helvetica, sans-serif"><br></font></div></div></div><div class="gmail_quote">On Mon, Nov 16, 2015 at 4:05 PM, Norman Gray <span dir="ltr"><<a href="mailto:norman@astro.gla.ac.uk" target="_blank">norman@astro.gla.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Greetings.<br>
<br>
The dnsmasq documentation stresses that it's a good solution for 'small networks', but how small is small?  The overview seems to give as examples home networks, or mentions dnsmasq running in a router (implicitly a SOHO router).<br>
<br>
I have what I'd call a medium-sized network of machines to look after, which -- depending on how I/we organise the network -- could represent between 500 and 1000 machines.  I'd like to provide DHCP and caching DNS to a good fraction of them, and provide authoritative (intranet) records for perhaps half.  Dnsmasq looks like it would be very convenient to use for that, but would those numbers tax dnsmasq unduly?<br>
<br>
I would guess that DNS and DHCP wouldn't necessarily imply a huge load on a machine, but I'd guess also that the load would scale roughly with the square of the number of machines being served (or perhaps linearly both with the number of machines being served and with the number of authoritative local records).<br>
<br>
The machines are heterogenous in use, as opposed to being a compute farm, or something else which would suggest that cache hits would be unusually common.<br>
<br>
The manpage mentions that 'Dnsmasq is capable of handling DNS and DHCP for at least a thousand clients.'  That's about the number of clients I'm thinking of, so that's good, but is there a 'with ease' elided there, or a 'without overwhelming pain'?  Would I, in short, be storing up trouble for myself?<br>
<br>
I couldn't find discussion of this in a quick search of the list archives, but I wasn't really sure what best to search for.<br>
<br>
Thanks for any advice.<br>
<br>
Best wishes,<br>
<br>
Norman<span class=""><font color="#888888"><br>
<br>
<br>
-- <br>
Norman Gray  :  <a href="https://nxg.me.uk" rel="noreferrer" target="_blank">https://nxg.me.uk</a><br>
SUPA School of Physics and Astronomy, University of Glasgow, UK<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</font></span></blockquote></div><br></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,helvetica,sans-serif;background-color:rgb(255,255,255)">Email Confidentiality Notice: The information contained in this transmission is confidential, proprietary or privileged and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). The message is intended for the sole use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited and may subject you to criminal or civil penalties. If you received this transmission in error, please contact the sender immediately by replying to this email and delete the material from any computer.</span>