[Dnsmasq-discuss] Slow resolving

Lars Noodén lars.nooden at gmail.com
Thu May 10 07:35:07 BST 2018


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



More information about the Dnsmasq-discuss mailing list