[Pdns-users] 1 sec delay before DNS-answer at pdns-recursor

Michael Loftis mloftis at wgops.com
Wed Jun 26 00:04:32 UTC 2013


On Tuesday, June 25, 2013, Shamus Smith wrote:

> Hello all,
>
> thanks for all your answers, but I'm still stuck. Below is the full output
> for dig for pdns and dnsmasq.
> The query time is 2 ms for the first uncached request and 0 ms for pdns
> and dnsmasq. However, the
> whole execution of the dig command takes over 1 second for pdns and below
> 30 ms for dnsmasq. The
> same for nslookup.
>
> For the second request trace just shows: 1 question answered from packet
> cache from 127.0.0.1
> But it still takes more than 1 second.
>
> - /etc/pdns-recursor/recursor.conf (default-config from package plus own
> forward-zone, removed comments)
> forward-zones=.=8.8.8.8
> setgid=pdns-recursor
> setuid=pdns-recursor
>
> - /etc/dnsmasq.conf (default-config from package, removed comments)
> bogus-priv
> cache-size=1500
> domain-needed
> no-hosts
>
> - /etc/hosts
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6
>
> /etc/nsswitch.conf was not modified and there is absolutely no load on the
> machine.
> I do not have a LDAP user database, this is just a minimum install of
> CentOS 6.5.
>
> Any ideas?
>


Someone else mentioned use  forward-zones-recurse instead. Try that.
There's obviously an issue between your OS resolver and pdns-recursor. That
well be the cause.



>
> Thanks,
> Shamus
>
>
>



-- 

"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130625/33ed2e8e/attachment-0001.html>


More information about the Pdns-users mailing list