[Dnsmasq-discuss] How to get dnsmasq to forget a changed IP address?
Geert Stappers
stappers at stappers.nl
Fri Feb 4 22:57:46 UTC 2022
On Fri, Feb 04, 2022 at 06:44:17PM +0000, Chris Green wrote:
> I have just changed a system on my LAN to a static IP. I have added
> its address to /etc/hosts on my LAN's DHCP/DNS server (dnsmasq) and I
> have restarted dnsmasq on that system. I have also restarted dnsmasq
> on 'this' system (my laptop). However I'm still getting the old IP
> address for the changed system.
>
> How do I get systems to forget the old address?
>
By understanding where IPv4-addresses are stored.
Do known that DHCP server **and also** the DHCP client
do try to keep the IPv4-address. "try to keep" as in "keep assigned"(by
server) and "keep using" (by the client)
Manual page of DHCP-server dnsmasq ( `man dnsmasq` ) mentions:
/var/lib/misc/dnsmasq.leases
/var/db/dnsmasq.leases
Where the DHCP-client stores it's information, is up to the DHCP-client.
Groeten
Geert Stappers
--
Silence is hard to parse
More information about the Dnsmasq-discuss
mailing list