Centos

Delete Lease From Dnsmasq in CentOS 71 min read

Ağu 9, 2020 < 1 min

Delete Lease From Dnsmasq in CentOS 71 min read

Okunur: < 1 dakika

dnsmasq keeps track of the DHCP leases it has in a file which is defined
by the dhcp-leasefile config option.

To delete a lease from dnsmasq, first stop dnsmasq

systemctl stop dnsmasq

Remove the lease from the file. On Ubuntu this lease file defaults to
/var/lib/misc/dnsmasq.leases

Once the lease is removed, start dnsmasq.

systemctl start dnsmasq

Sistem Uzmanı, Linux Hacısı, El-Kernel