[Dnsmasq-discuss] DNS/host lookup delay, how to diagnose?

Geert Stappers stappers at stappers.nl
Thu Feb 20 20:45:18 GMT 2020


On Thu, Feb 20, 2020 at 09:54:44AM +0000, Chris Green wrote:
> Here is the result of a query that took 5 seconds in 'host':-
> 
>     Feb 20 09:24:05 newdns dnsmasq[465]: 15 192.168.1.92/52420 query[A] esprimo.zbmc.eu from 192.168.1.92
>     Feb 20 09:24:05 newdns dnsmasq[465]: 15 192.168.1.92/52420 /etc/hosts esprimo.zbmc.eu is 192.168.1.3
>     Feb 20 09:24:06 newdns dnsmasq[465]: 16 192.168.1.92/52342 query[AAAA] esprimo.zbmc.eu from 192.168.1.92
>     Feb 20 09:24:06 newdns dnsmasq[465]: 16 192.168.1.92/52342 config esprimo.zbmc.eu is NODATA-IPv6
    ....
>     Feb 20 09:24:06 newdns dnsmasq[465]: 39 192.168.1.92/52342 query[AAAA] esprimo.zbmc.eu from 192.168.1.92
>     Feb 20 09:24:06 newdns dnsmasq[465]: 39 192.168.1.92/52342 config esprimo.zbmc.eu is NODATA-IPv6
>     Feb 20 09:24:11 newdns dnsmasq[465]: 40 192.168.1.92/43165 query[AAAA] esprimo.zbmc.eu from 192.168.1.92
>     Feb 20 09:24:11 newdns dnsmasq[465]: 40 192.168.1.92/43165 config esprimo.zbmc.eu is NODATA-IPv6
>     Feb 20 09:24:11 newdns dnsmasq[465]: 41 192.168.1.92/36962 query[MX] esprimo.zbmc.eu from 192.168.1.92
>     Feb 20 09:24:11 newdns dnsmasq[465]: 41 192.168.1.92/36962 config esprimo.zbmc.eu is NODATA
> 
> So:-
> 
>     Why does the query get repeated so many times?  Is it because the IPV6 is failing and
>     it's retrying?
> 
>     Why is there that 5 second delay between 40 and 41?  That's presumably the delay I'm
>     seeing in the response to the 'host' command.
> 
> Thanks for any explanations and help.

Chart all compoments, shared the new map with us, tell again the situation.



More information about the Dnsmasq-discuss mailing list