From owner-freebsd-bugs@FreeBSD.ORG Sat Nov 20 00:40:28 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CD7816A4D5 for ; Sat, 20 Nov 2004 00:40:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 157C343D53 for ; Sat, 20 Nov 2004 00:40:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iAK0eRFY062895 for ; Sat, 20 Nov 2004 00:40:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAK0eRi2062894; Sat, 20 Nov 2004 00:40:27 GMT (envelope-from gnats) Resent-Date: Sat, 20 Nov 2004 00:40:27 GMT Resent-Message-Id: <200411200040.iAK0eRi2062894@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Thompson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EDFF16A4CE for ; Sat, 20 Nov 2004 00:31:15 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A56B43D48 for ; Sat, 20 Nov 2004 00:31:15 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iAK0VFni067946 for ; Sat, 20 Nov 2004 00:31:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id iAK0VEvZ067945; Sat, 20 Nov 2004 00:31:14 GMT (envelope-from nobody) Message-Id: <200411200031.iAK0VEvZ067945@www.freebsd.org> Date: Sat, 20 Nov 2004 00:31:14 GMT From: Kevin Thompson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/74140: ntpdate does not try all IPs for a host X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2004 00:40:28 -0000 >Number: 74140 >Category: misc >Synopsis: ntpdate does not try all IPs for a host >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 20 00:40:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Kevin Thompson >Release: 5.3-STABLE >Organization: >Environment: FreeBSD corrugated.csh.rit.edu 5.3-STABLE FreeBSD 5.3-STABLE #3: Sat Nov 6 18:39:15 EST 2004 antiduh@corrugated.csh.rit.edu:/usr/obj/usr/src/sys/CORRUGATED_5_3 i386 >Description: When attempting to contact the specified server to adjust time, ntpdate seems to only try to connect to the first IP it comes up with for a given host. An example: I have a server, mcp.csh.rit.edu, that serves ntp for our services. In dns, we have a old IPv6 address for the machine registered, but the machine does not respond to this address. The machine, of course, responds on the IPv4 address. When attempting to use 'ntpdate mcp.csh.rit.edu', the command fails because ntpdate cannot contact mcp's IPv6 address. 'ntpdate 129.21.60.9' works flawlessly. >How-To-Repeat: Create a multiple dns entries for a server, many of which the machine will not respond for, run ntpd on that machine and try to sync another machine with that server using 'ntpdate host' and then 'ntpdate '. >Fix: Attempt to contact all known IP addresses listed for the machine. >Release-Note: >Audit-Trail: >Unformatted: