Hello Winfried,

> 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.

BINGO!

> You have 3 possibilities:
> 
> 1.) Force the Recursor to listen at ::1 (--local-address=127.0.0.1,::1)

Worked.

> 2.) Explicitly dig IPv4 (dig @127.0.0.1 ...)

Tried that before, worked.

> 3.) Delete ::1 from /etc/hosts

Worked.

Thank you very much Winfried! Maybe PowerDNS Recursor should also listen to ::1 
by default, Dnsmasq seems to bind to all local interfaces by default.

@Michael, tried to use forward-zones-recurse before, but forget to mention it. 
It had the same delay.

Greetings,
Shamus
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to