[Dnsmasq-discuss] DNSMasq slow.

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Oct 1 11:25:57 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.

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
-- 
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.
My mind is like a steel trap - rusty and illegal in 37 states.



More information about the Dnsmasq-discuss mailing list