<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 9/3/21 5:58 AM, Jesus M Diaz wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF2VCSSW-haKzx18DO-+vsfoc2JdUTWwFmbM7FSjkYFkC6uDSw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr"><br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
I wasn't considering erasing/deleting the dnsmasq.leases
file, I was<br>
rather thinking of copying it to a non-running backup
dnsmasq so that<br>
if/when the running dnsmasq fails I can start the other and
it will<br>
give out the same IPs.<br>
</blockquote>
<div><br>
</div>
<div>Do you really need this? I mean, if dhcp server dies and
you have a stand-by backup that takes over immediately, the
renew request from the hosts will be to use the same IP
address, so if you don't have the dnsmasq.lease file, ergo
there are no leases at the moment, dnsmasq would grant the
same (requested) IP address.</div>
<div> <br>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>Without the leases file, you won't have the DNS mapping for those
hosts that have been handed out a DHCP lease. I am not sure if
those will come back upon renew or if it has to wait until a new
request comes in.</p>
<p><br>
</p>
<p>Michael</p>
<p><br>
</p>
</body>
</html>