<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Ulrich,<br>
</p>
<p>Why would you like to modify cache?</p>
<p>Would it make sense to be able to add runtime --address=/test/::
like entries instead? Of course adding that later should flush any
related subtree from cache.</p>
<p>It can be done via dbus already, I am not sure if it flushes
cache if new subdomain entry for --server is added.</p>
<p>It would be nice if dbus-controlled flush of cache subtree were
possible. But I think dnsmasq usually does not have so big cache
to care about few lost entries when flushing it all. It does not
even cache all record types, just a selected set of types. Do you
validate DNSSEC? It might help only with DNSSEC records, if cached
entry is wrong.<br>
</p>
<p>Regards,<br>
Petr<br>
</p>
<div class="moz-cite-prefix">On 9/18/21 23:49, Ulrich Wexler via
Dnsmasq-discuss wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJKtV_nY1HyhzcbGTrOeWN9qrDBNQPRDP8Xt95sH8a9V_yru1g@mail.gmail.com">
<div dir="ltr">Hello dnsmasq,
<div><br>
</div>
<div>I would like to request the ability to make selective
changes to the dnsmasq cache, i.e. adding and removing
entries. Right now I have to flush the cache to make changes,
which is wasteful.</div>
<div><br>
</div>
<div>Best Regards</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Dnsmasq-discuss mailing list
<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-freetext" href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a>
</pre>
</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>