<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
In your config, i noticed your comment:<br>
<pre wrap=""><font color="#993300">#############################################################################
# DDNS Delete Old entries
#############################################################################
# I had to remove my on commit script.
# With the scipt enabled static leases did not get renewed
############################End DDNS Delete Old entries######################</font></pre>
DHCP has a 'static' test that might allow you to run your script
only on non-static<br>
leases. Here's what I use it for:<br>
<font color="#993300"><tt><font color="#993300"><tt>on commit {<br>
</tt></font> if static {</tt><tt><br>
</tt><tt> option dhcp-renewal-time =
encode-int(43200 / 2, 32); # 43200 = 12 hours</tt><tt><br>
</tt><tt> option dhcp-rebinding-time =
encode-int(43200 * 7 / 8, 32);</tt><tt><br>
</tt><tt> ddns-ttl =
encode-int((43200 / 2) + 1, 32);</tt><tt><br>
</tt><tt> #ddns-ttl =
encode-int((lease-time / 2) + 2, 32); # backup DHCP
partner</tt><tt><br>
</tt><tt> } else {</tt><tt><br>
</tt><tt> set vendor_class_identifier = option
vendor-class-identifier;</tt><tt><br>
</tt><tt><br>
</tt><tt> option dhcp-renewal-time =
encode-int(lease-time / 2, 32);</tt><tt><br>
</tt><tt> option dhcp-rebinding-time =
encode-int(lease-time * 7 / 8, 32);</tt><tt><br>
</tt><tt> ddns-ttl =
encode-int((lease-time / 2) + 1, 32);</tt><tt><br>
</tt><tt> #ddns-ttl =
encode-int((lease-time / 2) + 2, 32); # backup DHCP
partner</tt><tt><br>
</tt><tt> }</tt><tt><br>
}<br>
</tt></font>(Note, if the DNS ttl ends with a 1, the lease was
issued by the primary DHCP server; if 2 by the secondary.)<br>
Example:<br>
<font color="#993300"><tt>RFgun-84b947.lan.example.com. 18001 IN
A 10.99.0.71</tt><tt><br>
</tt><tt>RFgun-84bf76.lan.example.com. 18002 IN A 10.99.0.21</tt><tt><br>
</tt></font><br>
<br>
Hope this helps,<br>
Bill<br>
<br>
</body>
</html>