[Dnsmasq-discuss] Possible to reuse Cache over restats?
Hello DNSmasq, Is there a way to reuse the cache over restarts? I restart DNSmasq every hour, because I notice that after a while all clients in my network aren't able to resolve dns names any more. I can't figure out why, okay I also don't know how I can analyse that behavior. So I restart the DNSmasq process each half hour. I tried it with 4 hours, but that was on some days a too long time period to let the service running without issues, so I reduced it to 1 hour, and then to a half hour. The service runs so far fine, and I don't want to change to a different dns resolver, or tool because I believe that DNSmasq is a fine product. There isn't a feature to reuse the dns-cache? or a plan to add this feature? Mit freundlichen Grüßen, Tobias Hochgürtel Hochgürtel, IT-Beratung und Softwareentwicklung Waldriede 3, 38518 Gifhorn Telefon: +49 176 8674 5374 E-Mail: tobias.hochguer...@hochguertel.work ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Possible to reuse Cache over restats?
Hey Tobias, On Wed, 2022-06-29 at 18:37 +, Tobias Hochgürtel wrote: > There isn't a feature to reuse the dns-cache? > or a plan to add this feature? > There is no such feature and there is also nothing planned at the moment (not that I'd be aware of). However, restarting dnsmasq once per hour surely is the least optimal solution to circumvent what you are observing. On Wed, 2022-06-29 at 18:37 +, Tobias Hochgürtel wrote: > I also don't know how I can analyse that behavior. You could use some widely known and used tools like Wireshark where various tutorial are available to see whether the issue is dnsmasq not responding or the queries not making their way to dnsmasq or if something happens to the queries sent upstream to the forward destionation, or whatever else may be happening. We can surely give some assistance here, if you want. Best, Dominik ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Possible to reuse Cache over restats?
On Wed, Jun 29, 2022 at 08:25:18PM +, Dominik Derigs wrote: > On Wed, 2022-06-29 at 18:37 +, Tobias Hochgürtel wrote: > > There isn't a feature to reuse the dns-cache? > > or a plan to add this feature? > > > > There is no such feature and there is also nothing planned at the moment Oh, it was not a joke. > However, restarting dnsmasq once per hour surely is the least optimal > solution to circumvent what you are observing. So true. > On Wed, 2022-06-29 at 18:37 +, Tobias Hochgürtel wrote: > > I also don't know how I can analyse that behavior. > > You could use some widely known and used tools like Wireshark where various > tutorial are available to see whether the issue is dnsmasq not responding > or the queries not making their way to dnsmasq or if something happens to > the queries sent upstream to the forward destionation, or whatever else may > be happening. We can surely give some assistance here, if you want. Here already some assistance: * Tell us which version of dnsmasq is being used * Reread the manual page and in particular --log-queries option Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
Re: [Dnsmasq-discuss] Possible to reuse Cache over restats?
Also, what you are running it on? From: Dnsmasq-discuss on behalf of Geert Stappers via Dnsmasq-discuss Sent: Wednesday, June 29, 2022 6:14:30 PM To: dnsmasq-discuss@lists.thekelleys.org.uk Subject: Re: [Dnsmasq-discuss] Possible to reuse Cache over restats? On Wed, Jun 29, 2022 at 08:25:18PM +, Dominik Derigs wrote: > On Wed, 2022-06-29 at 18:37 +, Tobias Hochgürtel wrote: > > There isn't a feature to reuse the dns-cache? > > or a plan to add this feature? > > > > There is no such feature and there is also nothing planned at the moment Oh, it was not a joke. > However, restarting dnsmasq once per hour surely is the least optimal > solution to circumvent what you are observing. So true. > On Wed, 2022-06-29 at 18:37 +, Tobias Hochgürtel wrote: > > I also don't know how I can analyse that behavior. > > You could use some widely known and used tools like Wireshark where various > tutorial are available to see whether the issue is dnsmasq not responding > or the queries not making their way to dnsmasq or if something happens to > the queries sent upstream to the forward destionation, or whatever else may > be happening. We can surely give some assistance here, if you want. Here already some assistance: * Tell us which version of dnsmasq is being used * Reread the manual page and in particular --log-queries option Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss