[Dnsmasq-discuss] DNSMasq slow.
Chris Green
cl at isbd.net
Thu Oct 1 13:15:15 BST 2020
On Thu, Oct 01, 2020 at 12:25:57PM +0200, Matus UHLAR - fantomas wrote:
> > On 30.09.20 21:41, 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 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.
>
> On 01.10.20 11:35, Matus UHLAR - fantomas wrote:
> > running 'tcpdump port 53' could help you find out.
> > I can guess that clients are asking for a fqdns (because in DNS you MUST ask
> > for fqdns) your dnsmasq is not accepting as local
>
> other possibility I can think of is that clients searches for AAAA records
> while ipv6 addresses aren't in your hosts table
I think that was one of the issues I had though it was muddied by
systemd-resolved as well.
--
Chris Green
More information about the Dnsmasq-discuss
mailing list