[Dnsmasq-discuss] Long nslookup times

Geert Stappers stappers at stappers.nl
Wed Jan 31 22:33:00 GMT 2018


On Wed, Jan 31, 2018 at 04:44:03PM +0000, Donald Muller wrote:
> bounces at lists.thekelleys.org.uk] On Behalf Of Geert Stappers
> Sent: Wednesday, January 31, 2018 4:56 AM
> > On Wed, Jan 31, 2018 at 10:22:53AM +0100, Geert Stappers wrote:
> > > On Tue, Jan 30, 2018 at 05:08:05PM +0000, Donald Muller wrote:
> > > >
> > > > Using Microsoft DNS server
> > > >
> > > > [~] # time nslookup www.microsoft.com 192.168.22.200 Address 1:
> > > > 192.168.22.200 djmfs1.djmuller.com
> > >
> > > Programm nslookup did a reverse lookup on used DNS address and got
> > > back a FQDN
> > >
> > > > Address 1: 172.229.210.230
> > > > a172-229-210-230.deploy.static.akamaitechnologies.com
> > > >
> > > > real    0m0.103s
> > > >
> > > > Using dnsmasq
> > > >
> > > > [~] # time nslookup www.microsoft.com 192.168.22.220 Address 1:
> > > > 192.168.22.220 DJMFS2
> > >
> > > Non Fully Qualified Domain Name for the used DNS address
> > >
> > > > Address 1: 172.229.210.230
> > > > a172-229-210-230.deploy.static.akamaitechnologies.com
> > > >
> > > > real    0m40.057s
> > >
> > > Wow, a full forty seconds ...
> > >
> > > > As you can see dnsmasq took a lot longer.
> > >
> > > > Both DNS servers are set up to
> > > > forward requests to my router (192.168.22.252) which then forwards
> > > > them on the my ISP DNS servers. The router is NOT running a DNS server.
> > >
> > > So the "forward" is about forwarding plain IP packets.
> > > Initially I did read the "forward" as "forwarding a DNS request"
> > >
> > >
> > > > Some queries run faster on the NAS. Others, like www.micorsoft.com
> > > > run slower. Here is my dnsmasq setup.
> > > >
> > > > Main dnsmasq config file
    <snip/>
> > > > Is there a setting that needs to be changed/added/removed?

I'm not convinced that the culprit is in  dnsmasq.
Please continue to find proof  ...

> > > > What additional information do you need?
> > > >
> > >
> > > The connection between the r2012 server and the router.
> > > The connection between the dnsmasq and the router.
> > 
> > And
> > the connection between the nslookup client and the r2012 server the
> > connection between the nslookup client and the dnsmasq server
> > 
> 
> All devices, including the router, are connected at 1GB to a switch.

The testclient what does it have in /etc/resolv.conf while testing?
Other tools for `nslookup`, such as `dig` and `host`,
what timing results have those?
The QNAP NAS with dnsmasq, how much traffic must it handle?


Groeten
Geert Stappers
-- 
Leven en laten leven



More information about the Dnsmasq-discuss mailing list