[Dnsmasq-discuss] DNSMasq slow.

john doe johndoe65534 at mail.com
Thu Oct 1 09:31:48 BST 2020


On 10/1/2020 3:41 AM, Ken D'Ambrosio wrote:
> Hi, all.  I've got a RasPi 4, with 4 GB of mostly empty RAM, acting as
> my firewall/gateway, with DHCP and DNSMasq running.  And performance of

I'll assume that dnsmasq is providing DNS and DHCP.

> it is... odd.  E.g., I have an entry in /etc/hosts on the Pi that I
> figured would be served nearly instantly, since no external lookup is
> required, and, out of ten lookups from the same host that sits on the
> common network, I range from about .2 seconds to 7.  (Note that it seems
> to fluctuate throughout the lookups, not just faster after the first
> lookup fills the cache or anything.)  Lookups for hosts not in
> /etc/hosts seem to be roughly as long as well.
>
> Not sure how to troubleshoot this.  Any suggestions would be greatly
> appreciated.
>

Is dnsmasq configure to cache DNS request (see (1) for an example).


1)  https://www.raspberrypi.org/forums/viewtopic.php?t=46154

--
John Doe



More information about the Dnsmasq-discuss mailing list