Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. dhcpd 4.4 named ddns and additional event triggers (Rick Dicaire) 2. Re: dhcpd 4.4 named ddns and additional event triggers (Bill Shirley) ---------------------------------------------------------------------- Message: 1 Date: Fri, 10 Jul 2020 15:15:12 -0400 From: Rick Dicaire <kri...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: dhcpd 4.4 named ddns and additional event triggers Message-ID: <ca+cc--fbnuymazougahxqrwhka7wgxykxrckfgna83nix0v...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi folks, I'm using dhcp 4.4.1 with named ddns updating. I'm researching performing additional triggers using event interface. Older man pages state I cannot configure event statements if I'm using internal ddns mechanism, however the man page for 4.4.1 just gives a terse description of events, and makes no mention whatsoever of whether event statements can be used in conjunction with internal ddns mechanism: 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 state-ment, followed by the name of the event, followed by a series of statements to execute when the event happens, enclosed in braces. Is it now possible to configure event declarations and still use internal ddns updating? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20200710/1cf94a37/attachment-0001.htm> ------------------------------ Message: 2 Date: Fri, 10 Jul 2020 23:52:42 -0400 From: Bill Shirley <b...@c3po.polymerindustries.biz> To: dhcp-users@lists.isc.org Subject: Re: dhcpd 4.4 named ddns and additional event triggers Message-ID: <dcc0336d-8e9e-ffe3-9bf0-ba5085250...@c3po.polymerindustries.biz> Content-Type: text/plain; charset="utf-8"; Format="flowed" I've been using "on commit" along with DNS updating for years: on commit { ??? log ( ??? ??? info, ??? ??? concat ( ??? ??? ??? "Host:", pick-first-value(option fqdn.hostname, option host-name, "(none)"), "=>", pick-first-value(config-option server.ddns-hostname, "(none)") ??? ??? ??? ,"? VendorId:", pick-first-value(option vendor-class-identifier, "(none)") . . . ??? ??? ) ??? ); } What is it that you want to do? Bill On 7/10/2020 3:15 PM, Rick Dicaire wrote: > Hi folks, I'm using dhcp 4.4.1 with named ddns updating. > I'm researching performing additional triggers using event interface. > Older man pages state I cannot configure event statements if I'm using > internal ddns mechanism, however the man page for 4.4.1 just gives a terse > description of events, and makes no mention > whatsoever of whether event statements can be used in conjunction > with internal ddns?mechanism: > > 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 ?state-ment, ?followed ?by ?the > name of the event, followed by a series of statements to execute when the > event happens, enclosed in braces. > > Is it now possible?to configure event declarations and still use internal > ddns updating? > > Thanks > > _______________________________________________ > ISC funds the development of this software with paid support subscriptions. > Contact us at https://www.isc.org/contact/ for more information. > > dhcp-users mailing list > dhcp-users@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/20200710/ed46d467/attachment-0001.htm> ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 141, Issue 2 ******************************************