[Dnsmasq-discuss] Long nslookup times

Donald Muller donmuller22 at outlook.com
Wed Jan 31 16:44:03 GMT 2018



> -----Original Message-----
> From: Dnsmasq-discuss [mailto:dnsmasq-discuss-
> bounces at lists.thekelleys.org.uk] On Behalf Of Geert Stappers
> Sent: Wednesday, January 31, 2018 4:56 AM
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] Long nslookup times
> 
> 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
> > >
> > > user=xxxxx
> > > group=yyyyyyy
> > > log-
> facility=/share/CACHEDEV1_DATA/UserData/Logs/DNSMasq/dnsmasq.log
> > > log-async=25
> > > bind-dynamic
> > > conf-
> file=/share/CACHEDEV1_DATA/UserData/Configs/DNSMasq/dnsmasq-dns
> > > .conf  # DNS configuration information
> > > conf-
> file=/share/CACHEDEV1_DATA/UserData/Configs/DNSMasq/dnsmasq-dhc
> > > p.conf # DHCP configuration information
> > >
> > > dnsmasq-dns.conf file
> > >
> > > domain-needed
> > > domain=djmuller.com
> > > no-hosts
> > > addn-
> hosts=/share/CACHEDEV1_DATA/UserData/Configs/DNSMasq/dnsmasq-ho
> > > sts.conf
> > > expand-hosts
> > > #log-queries
> > > local-service
> > > bogus-priv
> > > filterwin2k
> > > resolv-
> file=/share/CACHEDEV1_DATA/UserData/Configs/DNSMasq/dnsmasq-r
> > > esolv.conf
> > > stop-dns-rebind
> > > rebind-localhost-ok
> > > no-poll
> > > clear-on-reload
> > > domain-needed
> > > mx-host=djmuller.com,djmuller.com,50
> > > mx-target=mail.djmuller.com
> > > cache-size=1000
> > > conf-
> file=/share/CACHEDEV1_DATA/UserData/Configs/DNSMasq/dnsmasq-ads
> > > ervers.conf # List of servers that will return no-domain
> > > rebind-domain-ok=/plex.direct/
> > >
> > > Is there a setting that needs to be changed/added/removed?
> > > 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.

> Groeten
> Geert Stappers
> Who thinks this mail thread is not about a dnsmasq issue
> --
> Leven en laten leven
> 
> _______________________________________________
> 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