DHCPD Scripts
Alan Clegg
Alan_Clegg at isc.org
Thu Sep 25 00:45:12 UTC 2008
Tim Gustafson wrote:
> I am setting up a new ISC-DHCP server on a fresh FreeBSD 7.x box from the
> ports tree. The server is running fine, but I have a requirement that I
> can't seem to find a good way to accomplish.
>
> Whenever an IP address is leased, renewed or released, I need DHCPD to fire
> off a shell script that will do a few accounting things for me (update some
> mySQL data, adjust the box's firewall rules, etc).
>
> Is there any way to configure DHCPD to run scripts like that?
Yes. Look at the dhcp-eval man page and search for "execute".
AlanC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080924/40524748/attachment.bin>
More information about the dhcp-users
mailing list