<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Maybe it’s better to always validate the config before you restart dnsmasq. Such ‘failsafe’ config options tend to be used ‘just in case’, leading to silent failure when a config error does occur. TFTP probably has such a limited feature set that faulty functioning can be easily detected by the user. I don’t think that’s true for e.g. DHCP.<br><br><div dir="ltr">Sent from mobile</div><div dir="ltr"><br><blockquote type="cite">Op 23 mei 2021 om 12:09 heeft Ercolino De Spiacico <bellocarico@hotmail.com> het volgende geschreven:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have recently been locked out of my remote router(s) because I made a typo on the dnsmasq config (e.g. as a syntax of dhcp-host, or similar), this resulted in dnsmasq unable to (re)start and exiting with a configuration parsing error something. My mistake
 indeed but... does it really have to crash the whole dnsmasq?<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I know that the internal dnsmasq's tftp server supports already a safe mode to run via the
<b>tftp-no-fail</b></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b><br>
</b></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
So could the whole dnsmasq have a no-fail feature e.g. just log+ignore the part of config not understood?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks<br>
</div>


<span>_______________________________________________</span><br><span>Dnsmasq-discuss mailing list</span><br><span>Dnsmasq-discuss@lists.thekelleys.org.uk</span><br><span>https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</span><br></div></blockquote></body></html>