Re: ntpd tries to connect via ipv6

2016-06-01 Thread Liviu Daia
On 31 May 2016, Lyndon Nerenberg wrote: > > On May 31, 2016, at 3:58 PM, Ted Unangst > > wrote: > > > > If we're talking about timeframes long enough for network > > connectivity to come and go, that's long enough for IP addresses to > > come and go as well. > > This is an interesting problem, in

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Lyndon Nerenberg
> On May 31, 2016, at 3:58 PM, Ted Unangst wrote: > > If we're talking about timeframes long enough for network connectivity to come > and go, that's long enough for IP addresses to come and go as well. This is an interesting problem, in general. In my MTA development days, we would cache the ta

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Ted Unangst
Carlin Bingham wrote: > On Tue, May 31, 2016 at 01:45:23PM -0400, Ted Unangst wrote: > > Jeremie Courreges-Anglas wrote: > > > ntpd(8) doesn't use getaddrinfo+AI_ADDRCONFIG, which is supposed to skip > > > DNS requests for IPv6 if the machine doesn't have IPv6 addresses > > > configured. > > > > r

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Carlin Bingham
On Tue, May 31, 2016 at 01:45:23PM -0400, Ted Unangst wrote: > Jeremie Courreges-Anglas wrote: > > ntpd(8) doesn't use getaddrinfo+AI_ADDRCONFIG, which is supposed to skip > > DNS requests for IPv6 if the machine doesn't have IPv6 addresses > > configured. > > reyk added a comment to that effect,

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Sonic
On Tue, May 31, 2016 at 1:04 PM, Stefan Wollny wrote: > I asked this just last week. Indeed! Sorry I missed it. Thanks all!

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Evgeniy Sudyr
Sonic, I can confirm same issue on -current when ntpd tries to use record to resolve constraints IP address. Can you check and confirm if you don't have IPv6 address :) I guess you should have at least link-local and loopback IPv6 addresses :) ifconfig | grep inet6 inet6 ::1 prefi

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Ted Unangst
Jeremie Courreges-Anglas wrote: > ntpd(8) doesn't use getaddrinfo+AI_ADDRCONFIG, which is supposed to skip > DNS requests for IPv6 if the machine doesn't have IPv6 addresses > configured. reyk added a comment to that effect, but I don't know why. /* ntpd MUST NOT use AI_ADDRCONFIG here */

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Stefan Wollny
Am 05/31/16 um 18:36 schrieb Sonic: > Getting many such log entries: > === > May 31 08:53:34 stargate ntpd[5702]: tls connect failed: > 2607:f8b0:4009:808::2004 (www.google.com): connect: No route to host > May 31 09:08:35 stargate ntpd[15803]: tls connect failed: > 2607:f8b0:40

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Mihai Popescu
http://marc.info/?l=openbsd-misc&m=146401377026646&w=2

ntpd tries to connect via ipv6

2016-05-31 Thread Sonic
Getting many such log entries: === May 31 08:53:34 stargate ntpd[5702]: tls connect failed: 2607:f8b0:4009:808::2004 (www.google.com): connect: No route to host May 31 09:08:35 stargate ntpd[15803]: tls connect failed: 2607:f8b0:4009:808::2004 (www.google.com): connect: No route

Re: ntpd tries to connect via ipv6

2016-05-31 Thread Jeremie Courreges-Anglas
Sonic writes: > Getting many such log entries: > === > May 31 08:53:34 stargate ntpd[5702]: tls connect failed: > 2607:f8b0:4009:808::2004 (www.google.com): connect: No route to host > May 31 09:08:35 stargate ntpd[15803]: tls connect failed: > 2607:f8b0:4009:808::2004 (www.go