[Dnsmasq-discuss] Is there a limit on max number of hosts?

Simon Kelley simon at thekelleys.org.uk
Fri May 13 09:46:33 BST 2011


John Hanks wrote:
> Earlier today I added about 3000 hosts to dnsmasq, both dhcp-host
> records and corresponding hosts file entries. Dnsmasq start fine with
> the update config, but twice today after running for a few hours it
> has stopped answering DNS queries. DHCP continues to function and I
> haven't found any obvious things noted in the logs (although my logs
> are pretty verbose so I may be overlooking something in the noise.)
> I've rolled back to my old configuration (around 360 hosts) and am
> waiting to see if it stops answering again, but wanted to see if this
> was a known issue with large numbers of dhcp-hosts and/or host
> entries. Currently running 2.56 but am about to upgrade to see if I
> can repeat this with the latest.
> 

No known issues. From experience, the most likely problem is that the
upstream nameserver(s) have gone away. Next time it happens, try
querying them directly. Also look in the logs for dnsmasq logging
forwarded queries with no corresponding answer.

HTH

Simon.




More information about the Dnsmasq-discuss mailing list