<div dir="ltr">Hello,<br><br>I hope you are safe and well.<br><br>When dnsmasq is configured to monitor hostsdir, I believe there is no forgetting logic when you delete and then create or simply overwrite one of the files there with different filter and the same allocated IP.<br><br>E. g.<br><br># grep -F dhcp-hostsdir /etc/dnsmasq.conf<br>dhcp-hostsdir=/etc/dnsmasq.d/hosts.d<br># echo "id:test,192.168.0.156" >/etc/dnsmasq.d/hosts.d/test.conf<br># systemctl status dnsmasq<br>...<br>dnsmasq[21376]: inotify, new or changed file /etc/dnsmasq.d/hosts.d/test.conf<br>dnsmasq-dhcp[21376]: read /etc/dnsmasq.d/hosts.d/test.conf<br># echo "id:test2,192.168.0.156" >/etc/dnsmasq.d/hosts.d/test.conf<br># systemctl status dnsmasq<br>...<br>dnsmasq[21376]: inotify, new or changed file /etc/dnsmasq.d/hosts.d/test.conf<br>dnsmasq-dhcp[21376]: read /etc/dnsmasq.d/hosts.d/test.conf<br>dnsmasq[21376]: duplicate dhcp-host IP address 192.168.0.156 at line 1 of /etc/dnsmasq.d/hosts.d/test.conf<br><br>Dnsmasq 2.80. Apologies if this has been fixed in 2.81, I did not succeed in compiling from sources to check. <br><br>I hope this helps. <br></div>