<div dir="ltr"><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="gmail-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>
</p></div>