<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Andale Mono; font-size: 10pt; color: #000000'>Chuck,<div><br></div><div>Thank you for the reply.  I have sent this to both dhcp-bugs and dhcp-suggest just now.<br><br><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Chuck Anderson" <cra@WPI.EDU><br><b>To: </b>dhcp-users@lists.isc.org<br><b>Sent: </b>Tuesday, February 14, 2012 9:30:38 AM<br><b>Subject: </b>Re: Events and DHCPv6<br><br>After your messages, I tested "on commit" with DHCPv6.  I agree that<br>it doesn't work.<br><br>If you want to better reach developers, perhaps filing a bug at<br>dhcp-bugs@isc.org or a suggestion at dhcp-suggest@isc.org would be<br>better.  I might just do that myself for this one.<br><br>In fact, I'll probably look into the code myself and try to fix<br>this/add this functionality, because it is also used in my environment<br>for tracking leases in our NetMon database.<br><br>On Tue, Feb 14, 2012 at 09:14:24AM -0500, perl-list wrote:<br>> Can anyone confirm that these messages are being delivered to the mailing list? Please respond if you see this message. <br>> <br>> ----- Original Message -----<br>> <br>> > From: "perl-list" <perl-list@network1.net><br>> > To: "Users of ISC DHCP" <dhcp-users@lists.isc.org><br>> > Sent: Monday, February 6, 2012 9:02:50 AM<br>> > Subject: Re: Events and DHCPv6<br>> <br>> > Are there no developers on the list anymore who could comment on<br>> > this? Surely someone knows if the 'on' events are still definable as<br>> > user functions or if this is a bug that it does not function<br>> > (4.2.3p1). I have asked the question in as many ways as I could<br>> > think of...<br>> <br>> > ----- Original Message -----<br>> <br>> > > From: "perl-list" <perl-list@network1.net><br>> > <br>> > > To: "Users of ISC DHCP" <dhcp-users@lists.isc.org><br>> > <br>> > > Sent: Friday, January 27, 2012 9:12:30 AM<br>> > <br>> > > Subject: Re: Events and DHCPv6<br>> > <br>> <br>> > > On some man page, I read that ddns updates use the events. Since<br>> > > ddns<br>> > > is supported in DHCPv6 (as far as I can tell) does that mean events<br>> > > are supported as well? Is it a bug that statements such as this:<br>> > <br>> <br>> > > on commit {<br>> > <br>> > > log(info,"I committed a lease");<br>> > <br>> > > }<br>> > <br>> <br>> > > do nothing on a running ISC DHCPv6 server (4.2.3p1)?<br>> > <br>> <br>> > > ----- Original Message -----<br>> > <br>> <br>> > > > From: "perl-list" <perl-list@network1.net><br>> > > <br>> > <br>> > > > To: "Users of ISC DHCP" <dhcp-users@lists.isc.org><br>> > > <br>> > <br>> > > > Sent: Friday, January 20, 2012 2:45:08 PM<br>> > > <br>> > <br>> > > > Subject: Re: Events and DHCPv6<br>> > > <br>> > <br>> <br>> > > > Just in case there is some confusion, I'm referring to the<br>> > > > Reference:<br>> > > > Events as defined in man 5 dhcpd.conf<br>> > > <br>> > <br>> <br>> > > > REFERENCE: EVENTS<br>> > > <br>> > <br>> > > > There are three kinds of events that can happen regarding a<br>> > > > lease,<br>> > > > and it is possible to declare statements that occur when any of<br>> > > > these events happen. These events are the commit event, when the<br>> > > > server has made a commitment of a certain lease to<br>> > > <br>> > <br>> > > > a client, the release event, when the client has released the<br>> > > > server<br>> > > > from its commitment, and the expiry event, when the commitment<br>> > > > expires.<br>> > > <br>> > <br>> <br>> > > > To declare a set of statements to execute when an event happens,<br>> > > > you<br>> > > > must use the on statement, followed by the name of the event,<br>> > > > followed by a series of statements to execute when the event<br>> > > > happens, enclosed in braces. Events are used to imple-<br>> > > <br>> > <br>> > > > ment DNS updates, so you should not define your own event<br>> > > > handlers<br>> > > > if<br>> > > > you are using the built-in DNS update mechanism.<br>> > > <br>> > <br>> <br>> > > > The built-in version of the DNS update mechanism is in a text<br>> > > > string<br>> > > > towards the top of server/dhcpd.c. If you want to use events for<br>> > > > things other than DNS updates, and you also want DNS updates, you<br>> > > > will have to start out by copying this code<br>> > > <br>> > <br>> > > > into your dhcpd.conf file and modifying it.<br>> > > <br>> > <br>> <br>> > > > ----- Original Message -----<br>> > > <br>> > <br>> <br>> > > > > From: "perl-list" <perl-list@network1.net><br>> > > > <br>> > > <br>> > <br>> > > > > To: "Users of ISC DHCP" <dhcp-users@lists.isc.org><br>> > > > <br>> > > <br>> > <br>> > > > > Sent: Thursday, January 19, 2012 8:10:31 AM<br>> > > > <br>> > > <br>> > <br>> > > > > Subject: Re: Events and DHCPv6<br>> > > > <br>> > > <br>> > <br>> <br>> > > > > Folks,<br>> > > > <br>> > > <br>> > <br>> <br>> > > > > Has anyone experimented with the 'on' as pertains to DHCPv6?<br>> > > > > Does<br>> > > > > anyone have any information? Perhaps a developer could comment<br>> > > > > in<br>> > > > > regards to this? We use this functionality to generate custom<br>> > > > > log<br>> > > > > messages in DHCPv4. We really need to be able to do similar in<br>> > > > > DHCPv6.<br>> > > > > ----- Original Message -----<br>> > > > > > From: "perl-list" <perl-list@network1.net><br>> > > > > > To: "Users of ISC DHCP" <dhcp-users@lists.isc.org><br>> > > > > > Sent: Friday, January 13, 2012 1:43:36 PM<br>> > > > > > Subject: Events and DHCPv6<br>> > > > > > Folks,<br>> > > > > > Are there new event keywords for DHCPv6? I have not seen<br>> > > > > > anything<br>> > > > > > in<br>> > > > > > the man pages either new or saying that the old events do not<br>> > > > > > apply<br>> > > > > > to DHCPv6.<br>> > > > > > For example, this statement:<br>> > > > > > on commit {<br>> > > > > > log(info,"I committed a lease");<br>> > > > > > }<br>> > > > > > does nothing in the case of DHCPv6 address allocation events.<br>> > > > > > Is there some new method, or are events just not supported<br>> > > > > > yet<br>> > > > > > in<br>> > > > > > DHCPv6?<br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users<br><br></blockquote><br></div></div></body></html>