<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 4:48 AM, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk" target="_blank">simon@thekelleys.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":ni" class="a3s" style="overflow:hidden">OK, the first problem: I didn't anticipate that you're using<br>
dhcp-optsfile, do there's no support for that in the code I checked<br>
in. That's easily fixed.<br></div></blockquote><div><br></div><div>After release new binary, I would love to try.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":ni" class="a3s" style="overflow:hidden">
<br>
There's no support for addn-hosts either. You're including the<br>
hostname on the dhcp-host stanza, so the hosts file may be redundant,<br>
but it does allow the hostname to resolve in the DNS even if the host<br>
doesn't have a DHCP lease. If that why you're using the hosts file? If<br></div></blockquote><div><br></div><div>We using leasefile-ro option in dnsmasq.conf. I am not sure if it means no DHCP lease, although we still have to call 'dhcp_release', after removing a VM's dns config. Is it a correct usage?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":ni" class="a3s" style="overflow:hidden">
so, I need to think about that a bit more.<br></div></blockquote><div><br></div><div>But we do need that files, since there are some hostname bindings will only appear in addn-hosts configs (and not in dhcp-host configs). </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":ni" class="a3s" style="overflow:hidden">
<br>
<br>
Re: you second message. There's no logging for this, given we're<br>
trying to support lots of files, I didn't want to clog up the logs.</div></blockquote></div><br>If there are some debug option I can use to test, I could easily figure out if the new function works in my environment. <br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Yongkang You</div>
</div></div>