[Dnsmasq-discuss] Notification when a system gets a lease
Paul Smith
psmith at gnu.org
Tue Dec 7 15:40:50 GMT 2010
Hi all; I wonder if you have some thoughts about this. I would like to
get a foolproof indication on the DHCP server that each of my DHCP
clients has booted. For my systems, there's a 1-1 correspondence
between a DHCP request/ack sequence and a boot (my leases are infinitely
long and my clients run only once, to get the lease, then exit). I'd
like to notify a 3rd application when this reboot happens.
The --dhcp-script capability of dnsmasq seems like it's going in that
direction, but I think it's not going to work.
First, the script gets an "old" request for every lease when it starts,
which isn't really what I want.
Second, reading the man pages it appears to me that if my clients reboot
but they come up with the same mac and hostname that they had before,
the script won't be run at all.
Am I reading this correctly? If so does anyone have any thoughts about
how I could get where I need to go?
Thanks!
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith at gnu.org> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
More information about the Dnsmasq-discuss
mailing list