[Dnsmasq-discuss] How does DNSMASQ handle large concurrent configure file updating request requests

Simon Kelley simon at thekelleys.org.uk
Sat Feb 7 22:35:52 GMT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



On 04/02/15 14:33, Yongkang You wrote:
> On Wed, Feb 4, 2015 at 5:54 AM, Simon Kelley
> <simon at thekelleys.org.uk> wrote:
> 
>> Done. I'm not sure how much logging is appropriate long term, but
>> it's good to have at least for now.
>> 
> 
> Well, actually nothing was trapped when new VM's config files are
> added in config folder.
> 
> Could you please provide your dnsmasq.conf to me to try or do I
> need to pass some parameters to dnsmasq? I am worrying about if
> something wrong in my configurations. But those configs do work, if
> I just restart dnsmasq process.
> 

Are you using the new config keywords

dhcp-hostsdir
dhcp-optsdir
hostsdir

These are equivalent to dhcp-hostfile, dhcp-optsfile and addn-hosts
when provided with a directory, except that they use inotify and don't
need SIGUSR1.

It's a bit of a pain to have yet more options, but the semantics are
different than the existing ones, and we need to be able to error if
someone asks for the new inotify behaviour when support isn't compiled
in, or we're on a platform that doesn't support it.


Cheers,

Simon.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJU1pNHAAoJEBXN2mrhkTWiD4kQAJ9GPR/fVAuXB0QKy6zkwooe
LqX2CSx+WJ9j07sy0WFqpFz7DqUpEWHDf5So5kvsjkUB9Cu/nGBY8jsG2/48Dgwq
lowABwT6YLPR4RaOnaeiCJWpTEHd/kFHQvuFv44Vgn2s1DfeGdvoR0mo5rSpJn4q
eSFL9nkya7bF7kiIoQu+80GOJWzJVM9vBdDdGTDZuEDNQe5XmPoJMbN+SIpj2Lct
EbIfDgZuYWM9kYK6qglJ5/Tet52yZYFklddfIslULM0ls7g8K3HBYVAPZNC+n0od
lQVUpQsx/QfE9nxJKzdTxq+THIlTYR7c0ceORTWaxNLAmJToyXespmwsWrgO7jtu
ZHXKWsg6/DhkFot6xAjEGMZQCiohE6/ZbPhANVNfWwAIBHjKog+EawRuTd+ENP7h
2lMI1fDAd33ThE3vT6QS8i6H03n+wGNdmwArF6HFOrhFJA7SnnofRncd9Yeerl3T
WBAvE0UCLUNT0P29QwwI/4lG1JFw9bvbsC2hMXlNOyjEbIAkrAxDDIma+hU+P393
wzLXFeYuOSJ6gFV52jo0e15fOcmVgl4gRcJ9X6+1enQFFPg+4fCyUvLIGz5Ey6FA
6AJozqIOWC/3HnR9HoJpiP963X9ga2+05tQh0DiXeGV8yX8R6bvjg5BWMWe8BZfL
oVU5uCNeyrGgzL0VJpff
=mQAD
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list