Events and DHCPv6

perl-list perl-list at network1.net
Mon Feb 6 14:02:50 UTC 2012


Are there no developers on the list anymore who could comment on this? Surely someone knows if the 'on' events are still definable as user functions or if this is a bug that it does not function (4.2.3p1). I have asked the question in as many ways as I could think of... 

----- Original Message -----

> From: "perl-list" <perl-list at network1.net>
> To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
> Sent: Friday, January 27, 2012 9:12:30 AM
> Subject: Re: Events and DHCPv6

> On some man page, I read that ddns updates use the events. Since ddns
> is supported in DHCPv6 (as far as I can tell) does that mean events
> are supported as well? Is it a bug that statements such as this:

> on commit {
> log(info,"I committed a lease");
> }

> do nothing on a running ISC DHCPv6 server (4.2.3p1)?

> ----- Original Message -----

> > From: "perl-list" <perl-list at network1.net>
> 
> > To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
> 
> > Sent: Friday, January 20, 2012 2:45:08 PM
> 
> > Subject: Re: Events and DHCPv6
> 

> > Just in case there is some confusion, I'm referring to the
> > Reference:
> > Events as defined in man 5 dhcpd.conf
> 

> > REFERENCE: EVENTS
> 
> > 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 on 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 imple-
> 
> > ment DNS updates, so you should not define your own event handlers
> > if
> > you are using the built-in DNS update mechanism.
> 

> > 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.
> 

> > ----- Original Message -----
> 

> > > From: "perl-list" <perl-list at network1.net>
> > 
> 
> > > To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
> > 
> 
> > > Sent: Thursday, January 19, 2012 8:10:31 AM
> > 
> 
> > > Subject: Re: Events and DHCPv6
> > 
> 

> > > Folks,
> > 
> 

> > > Has anyone experimented with the 'on' as pertains to DHCPv6? Does
> > > anyone have any information? Perhaps a developer could comment in
> > > regards to this? We use this functionality to generate custom log
> > > messages in DHCPv4. We really need to be able to do similar in
> > > DHCPv6.
> > 
> 

> > > ----- Original Message -----
> > 
> 

> > > > From: "perl-list" <perl-list at network1.net>
> > > 
> > 
> 
> > > > To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
> > > 
> > 
> 
> > > > Sent: Friday, January 13, 2012 1:43:36 PM
> > > 
> > 
> 
> > > > Subject: Events and DHCPv6
> > > 
> > 
> 

> > > > Folks,
> > > 
> > 
> 

> > > > Are there new event keywords for DHCPv6? I have not seen
> > > > anything
> > > > in
> > > > the man pages either new or saying that the old events do not
> > > > apply
> > > > to DHCPv6.
> > > 
> > 
> 

> > > > For example, this statement:
> > > 
> > 
> 

> > > > on commit {
> > > 
> > 
> 
> > > > log(info,"I committed a lease");
> > > 
> > 
> 
> > > > }
> > > 
> > 
> 

> > > > does nothing in the case of DHCPv6 address allocation events.
> > > 
> > 
> 

> > > > Is there some new method, or are events just not supported yet
> > > > in
> > > > DHCPv6?
> > > 
> > 
> 

> > > > _______________________________________________
> > > 
> > 
> 
> > > > dhcp-users mailing list
> > > 
> > 
> 
> > > > dhcp-users at lists.isc.org
> > > 
> > 
> 
> > > > https://lists.isc.org/mailman/listinfo/dhcp-users
> > > 
> > 
> 
> > > _______________________________________________
> > 
> 
> > > dhcp-users mailing list
> > 
> 
> > > dhcp-users at lists.isc.org
> > 
> 
> > > https://lists.isc.org/mailman/listinfo/dhcp-users
> > 
> 
> > _______________________________________________
> 
> > dhcp-users mailing list
> 
> > dhcp-users at lists.isc.org
> 
> > https://lists.isc.org/mailman/listinfo/dhcp-users
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120206/3e1e73b1/attachment.html>


More information about the dhcp-users mailing list