[Dnsmasq-discuss] prevent dnsmasq from releasing IPs
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Tue Jan 26 07:25:55 GMT 2016
Am 25.01.2016 um 23:20 schrieb Simon Kelley:
> Not directly. If you just want a record of leases after they've been
> released, then you can save information by using the dhcp-script
> function. If you want to stop re-use of the addresses, then the best
> you can easily do is to allocate static addresses to clients. That
> will stop the addresses being allocated to other clients, even
> when not leased.
I had the hope that dnsmasq evaluate the return code of the dhcp-script
and i can use exit 1 if i do not want to delete the IP.
Is it possible that i readd the IP to the leases file in the
dhcp-script? Or does dnsmasq remove the entry after processing the
dhcp-script?
Stefan
>
>
> Cheers,
>
> Simon.
>
> On 25/01/16 16:42, Stefan Priebe - Profihost AG wrote:
>> Hi,
>
>> is there any way to keep IPs in the dnsmasq DB even the host sends
>> a release?
>
>> I want to keep those entry at least for 2 more days.
>
>> Greets, Stefan
>
>> _______________________________________________ Dnsmasq-discuss
>> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list