Hi Ulrich,

Why would you like to modify cache?

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.

It can be done via dbus already, I am not sure if it flushes cache if
new subdomain entry for --server is added.

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.

Regards,
Petr

On 9/18/21 23:49, Ulrich Wexler via Dnsmasq-discuss wrote:
> Hello dnsmasq,
>
> 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.
>
> Best Regards
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

-- 
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemen...@redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to