[Dnsmasq-discuss] Slow resolving

Simon Kelley simon at thekelleys.org.uk
Thu May 10 15:52:46 BST 2018


It's likely to be a problem with one or more of the upstream servers. I
suggest setting the dnsmasq "log-queries" option and then examining what
servers the slow query was sent to, and how long they took to reply, or
of they didn't reply at all.


Cheers,
Simon

On 10/05/18 07:35, Lars Noodén wrote:
> Hello,
> 
> I am using dnsmasq on my router to serve up LAN host names and would
> like all other queries to pass through to the ISP's DNS servers.  I seem
> to have some mild misconfiguration of dnsmasq.conf slowing down new
> queries for external addresses.  Within the TTL subsequent queries are
> fast.
> 
> What should I change to speed up responses for domains that are not
> served locally?
> 
> Below is what I have in dnsmasq.conf
> 
>   port=53
>   address=/foo.bar.lan/192.168.1.12
> 
>   user=_dnsmasq
>   group=_dnsmasq
>   listen-address=192.168.1.1
>   no-dhcp-interface=vether1
> 
> I have also added the following, but see no increase in speed over the
> above alone.
> 
>   domain-needed
>   local=/lan/
>   no-poll
>   local-ttl=600
>   no-resolv
> 
>   server=8.8.8.8
> 
> Thanks,
> Lars
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list