From owner-freebsd-current@FreeBSD.ORG Sun Jan 27 13:09:19 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9AD316A468 for ; Sun, 27 Jan 2008 13:09:19 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id AAA3913C461 for ; Sun, 27 Jan 2008 13:09:19 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 5FCF7207F for ; Sun, 27 Jan 2008 14:09:09 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id DB35F207E for ; Sun, 27 Jan 2008 14:09:08 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id BA3C8844A1; Sun, 27 Jan 2008 14:09:08 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: current@freebsd.org Date: Sun, 27 Jan 2008 14:09:08 +0100 Message-ID: <86d4rn1kln.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: resolver change? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2008 13:09:20 -0000 Did something change in our resolver / getaddrinfo() recently? Check this out: des@soe ~% cat /etc/ntp.conf server europe.pool.ntp.org iburst server europe.pool.ntp.org iburst server europe.pool.ntp.org iburst server europe.pool.ntp.org iburst server europe.pool.ntp.org iburst server europe.pool.ntp.org iburst des@soe ~% ntpq -pn remote refid st t when poll reach delay offset jit= ter =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D 81.169.180.26 .INIT. 16 u - 512 0 0.000 0.000 4000= .00 81.169.180.26 .INIT. 16 u - 512 0 0.000 0.000 4000= .00 81.169.180.26 .INIT. 16 u - 512 0 0.000 0.000 4000= .00 81.169.180.26 .INIT. 16 u - 512 0 0.000 0.000 4000= .00 81.169.180.26 .INIT. 16 u - 512 0 0.000 0.000 4000= .00 *81.169.180.26 192.53.103.104 2 u 2 64 77 63.218 -19.045 3.= 331 europe.pool.ntp.org returns a different address every time you query it, and this used to work correctly. I don't know when it changed; it worked fine before I last rebooted my NTP server five days ago, but its userland is from December 16. It is *not* a name server issue: des@soe ~% host europe.pool.ntp.org europe.pool.ntp.org has address 81.169.180.26 europe.pool.ntp.org has address 77.66.32.156 europe.pool.ntp.org has address 217.8.241.75 europe.pool.ntp.org has address 130.226.232.145 europe.pool.ntp.org has address 87.32.0.19 des@soe ~% host europe.pool.ntp.org europe.pool.ntp.org has address 87.32.0.19 europe.pool.ntp.org has address 81.169.180.26 europe.pool.ntp.org has address 77.66.32.156 europe.pool.ntp.org has address 217.8.241.75 europe.pool.ntp.org has address 130.226.232.145 Somehow, ntpd (or libc) is caching the result of the lookup where it previously didn't. But this doesn't make sense, since neither ntpd nor libc nor /etc/{nsswitch,ntp,resolv}.conf have changed since it last worked. For now, I'm going to work around it by explicitly using [1-3].europe.pool.ntp.org, but I'd really like to know what's going on... DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no