<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>hi guys!<br>
<br>
I'm encountered with a strange issue:<br>
<br>
- host with the name host12-c12-1 one time requested and get
the address 10.10.10.12<br>
- dhcpd correct doing records ( A and PTR ) in DNS<br>
- BUT after host shutdown and in the file dhcpd.leases line
"binding state" become in the "free" - records A and PTR staying
stuck in the base of DNS.<br>
<br>
<br>
<br>
from
<a class="moz-txt-link-freetext" href="https://linux.die.net/man/5/dhcpd.conf#Dynamic%20Dns%20Updates">https://linux.die.net/man/5/dhcpd.conf#Dynamic%20Dns%20Updates</a><br>
i thinking what DHCP- DDNS work in the next scheme:<br>
<br>
- HOST doing request for ip address<br>
- DHCP getting request and try write RR's A and PTR in DNS<br>
- DHCP give out ip address and do a record in the file
dhcpd.leases<br>
- when time lease expire DHCP remove RR's A and PTR from DNS<br>
<br>
Please give me vector for a searching or suggestion about
mistakes.<br>
<br>
<br>
Thanks!!<br>
<br>
P.S unfortunately i can't upgrade my environment<br>
<br>
<br>
<br>
Environment:<br>
<br>
<br>
isc-dhcp42-server-4.2.6_1 <br>
bind-base-9.9.5_8<br>
<br>
<br>
cuted of the file dhcpd.lease:<br>
<br>
lease 10.10.10.12 {<br>
starts 5 2019/08/09 11:00:47;<br>
ends 5 2019/08/09 12:00:47;<br>
tstp 5 2019/08/09 12:00:47;<br>
cltt 5 2019/08/09 11:00:47;<br>
binding state free;<br>
hardware ethernet 18:10:2b:12:db:12;<br>
uid "\001\010\000'\216G\220";<br>
}<br>
<br>
cuted from the file /etc/named/tsc/tsc.zone:<br>
<br>
$TTL 1800 ; 30 minutes<br>
host12-c12-1 A 10.10.10.12 <br>
TXT
"00ffa9c88e143752544ac44exxxxxxxxxx"<br>
<br>
<br>
<br>
<br>
<br>
cuted of the file dhcpd.conf:<br>
<br>
## DDNS related configuration<br>
<br>
ddns-update-style interim;<br>
ddns-rev-domainname "in-addr.arpa.";<br>
ddns-domainname "tsc.";<br>
update-static-leases on;<br>
<br>
group {<br>
<br>
option routers 10.10.10.1;<br>
ddns-hostname = host-decl-name;<br>
<br>
update-optimization false;<br>
update-conflict-detection false;<br>
<br>
</p>
<p># example host <br>
host host12 {<br>
hardware ethernet 18:31:BF:xx:xx:xx;<br>
fixed-address 10.10.10.111;<br>
}<br>
<br>
}<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</p>
<div class="moz-signature">-- <br>
<!-- <meta http-equiv="Content-Type" content="text/html; " />-->
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
<style type="text/css">
body{
font: 12px Tahoma, Verdana;color:#002a42;
}
a img{
border:0;
}
.sign {
line-height: 16px;
clear: both;
}
.sign table{
font: 12px Tahoma, Verdana;color:#002a42;
border: 0;
}
.sign td{
}
</style>
<div class="sign">
<table cellspacing="0" cellpadding="10" border="0">
<tbody>
<tr>
<td valign="top">Best regards,<br>
<b>Nepryakhin Ivan Sergeevich</b><br>
system administrator<br>
STC Group<br>
</td>
<td valign="top"> </td>
<td valign="top">T: +7 (812) 325-88-48, ext 6225<br>
М: +7 (911) 291-81-68<br>
<a style="text-decoration:none; color:#002a42;
font-weight:bold;"
href="mailto:nepryakhin@speechpro.com">nepryakhin@speechpro.com</a><br>
<a href="http://www.speechpro.com">www.speechpro.com</a><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>