[pkg-dhcp-devel] Bug#646062: [PATCH] a suggested patch to the dhcpd.conf(5) man page
peter.chubb at nicta.com.au
Thu Oct 20 23:48:58 UTC 2011
--- isc-dhcp-4.2.2.orig/server/dhcpd.conf.5 2011-06-02 09:30:53.000000000 +1000
+++ isc-dhcp-4.2.2/server/dhcpd.conf.5 2011-10-21 10:47:47.370065257 +1100
@@ -1422,29 +1422,24 @@ that accompanies it.
There are three kinds of events that can happen regarding a lease, and
it is possible to declare statements that occur when any of these
events happen. These events are the commit event, when the server
has made a commitment of a certain lease to a client, the release
event, when the client has released the server from its commitment,
and the expiry event, when the commitment expires.
To declare a set of statements to execute when an event happens, you
must use the \fBon\fR statement, followed by the name of the event,
followed by a series of statements to execute when the event happens,
-enclosed in braces. Events are used to implement DNS
-updates, so you should not define your own event handlers if you are
-using the built-in DNS update mechanism.
+enclosed in braces.
-The built-in version of the DNS update mechanism is in a text
-string towards the top of server/dhcpd.c. If you want to use events
-for things other than DNS updates, and you also want DNS updates, you
-will have to start out by copying this code into your dhcpd.conf file
-and modifying it.
+Commit events are processed before DDNS updates, expire and release
+events are processed during or after DDNS updates.
.SH REFERENCE: DECLARATIONS
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
More information about the pkg-dhcp-devel