<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Looking at Dnsmasq and there is the ability to execute an external script when an address is allocated through DHCP, or it expires. </span><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
<br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Is it possible to execute a script when a client resolves an address? This would probably be a bit more complicated than the DHCP example due to multiple returned addresses etc. I'd like to be able to pass the client's IP address, the requested domain and the resolved IP addresses to an external script if possible. </div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Any help appreciated.</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
<br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">Cheers</div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
Francois</div></div>