<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ol>
<li><span>I stopped DNSMASQ service.</span></li><li><span><span style="text-align:start;background-color:rgb(255, 255, 255);display:inline !important">I ran "dnsmasq --max-ttl=30"</span></span></li><li>Got this error "dnsmasq: bad command line options: try --help<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">"</span></li><li style="font-size:12pt;font-family:Calibri, Helvetica, sans-serif;color:rgb(0, 0, 0)">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Tried to manually add max-ttl=<time> in dnsmasq.conf</span></li><li><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Got this error "Starting dnsmasq:
<div>dnsmasq: bad option at line 56 of /etc/dnsmasq.conf <span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">[FAILED]</span><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">"</span></div>
</span></li></ol>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Dnsmasq-discuss <dnsmasq-discuss-bounces@lists.thekelleys.org.uk> on behalf of Matus UHLAR - fantomas via Dnsmasq-discuss <dnsmasq-discuss@lists.thekelleys.org.uk><br>
<b>Sent:</b> Monday, October 11, 2021 9:25 PM<br>
<b>To:</b> dnsmasq-discuss@lists.thekelleys.org.uk <dnsmasq-discuss@lists.thekelleys.org.uk><br>
<b>Subject:</b> Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On 11.10.21 16:01, OMair Siddiquii wrote:<br>
>Even after upgrading to version 2.85 it didn't work.<br>
<br>
what exactly does "didn't work" mean?<br>
does dnsmasq still refuse to start?<br>
do you have any error message?<br>
did you try to stop it before starting?<br>
<br>
<br>
>On 11.10.21 13:13, OMair Siddiquii wrote:<br>
>>I am trying to add the max-ttl= parameter within the DNSMASQ config file<br>
>> but unfortunately when I'm starting the dnsmasq service it fails to start<br>
>> the dnsmasq process.  I am following the document mention in the link<br>
>> below.  I am using DNSMASQ version 2.48 "Dnsmasq version 2.48  Copyright<br>
>> (C) 2000-2009 Simon Kelley".  I also tried version 2.85 but it didnt work<br>
>> either.  I would really appreciate any help.<br>
<br>
>that's very old and very buggy version.<br>
>according to the changelog, --max-ttl parameter was added in 2.53<br>
<br>
<br>
-- <br>
Matus UHLAR - fantomas, uhlar@fantomas.sk ; <a href="http://www.fantomas.sk/">http://www.fantomas.sk/</a><br>
Warning: I wish NOT to receive e-mail advertising to this address.<br>
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.<br>
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist<br>
"So does syphillis. Good thing we have penicillin." - Matthew Alton<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
Dnsmasq-discuss@lists.thekelleys.org.uk<br>
<a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a><br>
</div>
</span></font></div>
</div>
</body>
</html>