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. Re: dhcpd 4.4 named ddns and additional event triggers (Rick Dicaire) ---------------------------------------------------------------------- Message: 1 Date: Sat, 11 Jul 2020 14:22:32 -0400 From: Rick Dicaire <kri...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: dhcpd 4.4 named ddns and additional event triggers Message-ID: <ca+cc--fbr5q8pm_l0bqru5gjslemf6pbgwirjtqnk--omzl...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Bill, thanks for responding. I'm looking to update netbox via REST api with dhcp client IPs/hostnames. I expect to exec a script on each event type that will pass the IP and hostname data to netbox for updating. My concern was configuring event actions would stop dhcpd from also updating named via dhcpd's internal updating mechanism. On Fri, Jul 10, 2020 at 11:53 PM Bill Shirley < b...@c3po.polymerindustries.biz> wrote: > 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 > listdhcp-us...@lists.isc.orghttps://lists.isc.org/mailman/listinfo/dhcp-users > > _______________________________________________ > 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/20200711/65624f34/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 3 ******************************************