<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Please report what is on line 56.</p>
<p>Following command would print just that:<br>
</p>
<p>sed -e '56!d' /etc/dnsmasq.conf</p>
<p>I doubt that is about max-ttl option. Are you still using RHEL6
(or derivate) for some reason? I thought every option is supported
in more recent versions. I would like to know what option were
supported in the old but is not in current version. Please Share.</p>
<p>Cheers,<br>
Petr<br>
</p>
<div class="moz-cite-prefix">On 10/11/21 19:41, OMair Siddiquii
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:TYZPR06MB4383D8893009E6087361DEEEA9B59@TYZPR06MB4383.apcprd06.prod.outlook.com">
<div>
<ol>
<li><span>I stopped DNSMASQ service.</span></li>
<li><span><span>I ran "dnsmasq --max-ttl=30"</span></span></li>
<li>Got this error "dnsmasq: bad command line options: try
--help<span>"</span></li>
<li>
<span>Tried to manually add max-ttl=<time> in
dnsmasq.conf</span></li>
<li><span>Got this error "Starting dnsmasq:
<div>dnsmasq: bad option at line 56 of /etc/dnsmasq.conf <span>[FAILED]</span><span>"</span></div>
</span></li>
</ol>
</div>
<div>
<div>
<br>
</div>
<hr tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><b>From:</b> Dnsmasq-discuss
<a class="moz-txt-link-rfc2396E" href="mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk"><dnsmasq-discuss-bounces@lists.thekelleys.org.uk></a> on
behalf of Matus UHLAR - fantomas via Dnsmasq-discuss
<a class="moz-txt-link-rfc2396E" href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk"><dnsmasq-discuss@lists.thekelleys.org.uk></a><br>
<b>Sent:</b> Monday, October 11, 2021 9:25 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.uk</a>
<a class="moz-txt-link-rfc2396E" href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk"><dnsmasq-discuss@lists.thekelleys.org.uk></a><br>
<b>Subject:</b> Re: [Dnsmasq-discuss] How to Add max-ttl in
DNSMASQ
<div> </div>
</div>
<div class="BodyFragment"><span>
<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>
</div>
</span></div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Petr Menšík
Software Engineer
Red Hat, <a class="moz-txt-link-freetext" href="http://www.redhat.com/">http://www.redhat.com/</a>
email: <a class="moz-txt-link-abbreviated" href="mailto:pemensik@redhat.com">pemensik@redhat.com</a>
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB</pre>
</body>
</html>