[Dnsmasq-discuss] Re : Feature request for dhcp-hostfiles to behave like addn-hosts
v_cadet at yahoo.fr
Thu Dec 16 19:43:10 GMT 2010
Simon Kelley wrote:
> > A tangential question, I've increased MAXLEASES to
> > #define MAXLEASES 16384
> > in config.h. Is there any danger in having this many leases and
> > increasing this even higher if necessary? I'm a few weeks away from
> > being able to test this at scale and appreciate any warnings or
> > feedback anyone might have now.
> If you get bitten anywhere, it will be performance writing the lease
> file. That gets truncated and re-written for every change. On reasonable
> storage it should be fine, but maybe not on a slow flash drive. If it's
> a problem that's that prefect excuse to write a script to move the
> database to a MySQL backend, right?
What about sqlite? IMHO MySQL seems a little bit overkill for that purpose.
More information about the Dnsmasq-discuss