<div>Non-authoritative summary:</div><div><br></div>Data goes from the dnsmasq server, to an dnsmasq helper process with limited privileges, to the script.<div><br></div><div>No data comes back from the script, except during the startup phase. This is a security feature.<br>
<br><div class="gmail_quote">On Wed, Oct 3, 2012 at 2:14 PM, Brian Rak <span dir="ltr"><<a href="mailto:brak@gameservers.com" target="_blank">brak@gameservers.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to set up a DHCP server so that on any request for a new lease I can execute a script and have the script return an IP address (and other information).<br>
<br>
Is this something that is currently possible with dnsmasq? From reading the man page, I can't tell if I will get this behaviour with --dhcp-script --leasefile-ro.<br>
<br>
Basically, it would be impossible for me to specify all the possible DHCP leases at startup, but when a lease request is received I would be able to determine what IP to assign.<br>
<br>
______________________________<u></u>_________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.<u></u>thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.<u></u>uk/mailman/listinfo/dnsmasq-<u></u>discuss</a><br>
</blockquote></div><br></div>