<div dir="ltr">Bill, thanks for responding.<div>I'm looking to update netbox via REST api with dhcp client IPs/hostnames.</div><div>I expect to exec a script on each event type that will pass the IP and hostname data to netbox for updating.</div><div>My concern was configuring event actions would stop dhcpd from also updating named via dhcpd's internal</div><div>updating mechanism.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 10, 2020 at 11:53 PM Bill Shirley <<a href="mailto:bill@c3po.polymerindustries.biz">bill@c3po.polymerindustries.biz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>I've been using "on commit" along with DNS updating for years:<br>
<font color="#804000"><tt>on commit {</tt><tt><br>
</tt><tt> log (</tt><tt><br>
</tt><tt> info,</tt><tt><br>
</tt><tt> concat (</tt><tt><br>
</tt><tt> "Host:", pick-first-value(option
fqdn.hostname, option host-name, "(none)"), "=>",
pick-first-value(config-option server.ddns-hostname, "(none)")</tt><tt><br>
</tt><tt> ," VendorId:", pick-first-value(option
vendor-class-identifier, "(none)")</tt><tt><br>
</tt><tt>.</tt><tt><br>
</tt><tt>.</tt><tt><br>
</tt><tt>.</tt><tt><br>
</tt><tt> )<br>
);</tt><tt><br>
</tt><tt>}</tt><tt><br>
</tt></font><br>
What is it that you want to do?</p>
<p>Bill<br>
</p>
<div>On 7/10/2020 3:15 PM, Rick Dicaire
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi folks, I'm using dhcp 4.4.1 with named ddns
updating.
<div>I'm researching performing additional triggers using event
interface.</div>
<div>Older man pages state I cannot configure event statements
if I'm using</div>
<div>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</div>
<div>with internal ddns mechanism:</div>
<div><br>
</div>
<div><font size="1" face="monospace">REFERENCE: EVENTS<br>
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.<br>
<br>
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.</font><br>
</div>
<div><font size="1" face="monospace"><br>
</font></div>
<div><font face="arial, sans-serif">Is it now possible to
configure event declarations and still use internal ddns
updating?</font></div>
<div><font face="arial, sans-serif"><br>
</font></div>
<div><font face="arial, sans-serif">Thanks</font></div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" target="_blank">https://www.isc.org/contact/</a> for more information.
dhcp-users mailing list
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div>