[Dnsmasq-discuss] DNSMasq slow.

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Oct 1 10:35:43 BST 2020


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.

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

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.



More information about the Dnsmasq-discuss mailing list