Hi Shamus,

PowerDNS Recursor not listening at ::1 by default. But localhost resolves (/etc/hosts) to ::1 at the first try. So dig's first query fails. After 1 second (don't know why 1 second because default timeout is 3s), dig tries again at 127.0.0.1 and it works.

You have 3 possibilities:

1.) Force the Recursor to listen at ::1 (--local-address=127.0.0.1,::1)
2.) Explicitly dig IPv4 (dig @127.0.0.1 ...)
3.) Delete ::1 from /etc/hosts


  Winfried


Am 26.06.2013 00:26, schrieb Shamus Smith:
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.

_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to