From nobody@FreeBSD.org  Fri Sep 19 13:55:10 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D1A091065676
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 19 Sep 2008 13:55:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C2C8B8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 19 Sep 2008 13:55:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m8JDtAZM011951
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 19 Sep 2008 13:55:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m8JDtAqe011919;
	Fri, 19 Sep 2008 13:55:10 GMT
	(envelope-from nobody)
Message-Id: <200809191355.m8JDtAqe011919@www.freebsd.org>
Date: Fri, 19 Sep 2008 13:55:10 GMT
From: Wouter Oosterveld <wouter@fizzyflux.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: update.freebsd.org does not exist
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         127498
>Category:       misc
>Synopsis:       update.freebsd.org does not exist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cperciva
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 19 14:00:14 UTC 2008
>Closed-Date:    Fri Sep 19 14:21:51 UTC 2008
>Last-Modified:  Fri Sep 19 14:50:06 UTC 2008
>Originator:     Wouter Oosterveld
>Release:        7.0-RELEASE-p4
>Organization:
>Environment:
FreeBSD skittles.lan 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Tue Sep  2 19:32:35 UTC 2008     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The DNS-record for update.freebsd.org does not exist anymore causing freebsd-update on 7.0-RELEASE-x install to fail.

>How-To-Repeat:
[root@skittles ~]# freebsd-update --debug fetch
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 7.0-RELEASE from update.FreeBSD.org... 
fetch: http://update.FreeBSD.org/7.0-RELEASE/i386/latest.ssl: No address record
failed.
No mirrors remaining, giving up.


>Fix:
Replace in /etc/freebsd-update.conf update.freebsd.org with update1.freebsd.org.

[root@skittles ~]# freebsd-update --debug fetch
Looking up update1.FreeBSD.org mirrors... none found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... 
latest.ssl                                    100% of  512  B  844 kBps
done.
Fetching metadata index... 
a6857db53010191e81058701ef25632994561fb4787d48100% of  225  B  383 kBps
done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.0-RELEASE-p4.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->cperciva 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Sep 19 14:10:45 UTC 2008 
Responsible-Changed-Why:  
Maybe the author can give a sensible answer to this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127498 

From: Edwin Groothuis <edwin@mavetju.org>
To: Wouter Oosterveld <wouter@fizzyflux.nl>
Cc: FreeBSD Gnats Submit <freebsd-gnats-submit@freebsd.org>
Subject: Re: misc/127498: update.freebsd.org does not exist
Date: Sat, 20 Sep 2008 00:10:40 +1000

 On Fri, Sep 19, 2008 at 01:55:10PM +0000, Wouter Oosterveld wrote:
 > >Synopsis:       update.freebsd.org does not exist
 
 This is weird, since it should ask for the SRV record of it:
 
 update1.freebsd.org.    3600    IN      A       72.21.59.252
 _http._tcp.update.freebsd.org. 3600 IN  SRV     1 10 80 update1.FreeBSD.org.
 
 Is this the first time you use freebsd-update?
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/

From: Edwin Groothuis <edwin@mavetju.org>
To: Wouter Oosterveld <wouter@fizzyflux.nl>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/127498: update.freebsd.org does not exist
Date: Sat, 20 Sep 2008 00:12:32 +1000

 On Fri, Sep 19, 2008 at 01:55:10PM +0000, Wouter Oosterveld wrote:
 > Looking up update.FreeBSD.org mirrors... none found.
 
 This should be a dead give-away, the DNS lookup for
 
 _http._tcp.update.freebsd.org. 3600 IN  SRV     1 10 80 update1.FreeBSD.org.
 
 didn't succeed.
 
 Edwin
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Fri Sep 19 14:21:12 UTC 2008 
State-Changed-Why:  
Submitter says that it works with the DNS servers of his ISP and 
not with the DNS server in his router/modem. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=127498 

From: Colin Percival <cperciva@freebsd.org>
To: bug-followup@FreeBSD.org, wouter@fizzyflux.nl
Cc:  
Subject: Re: misc/127498: update.freebsd.org does not exist
Date: Fri, 19 Sep 2008 07:21:50 -0700

 There has never been an A record for update.freebsd.org, but there is an SRV record:
 
 $ host -t srv _http._tcp.update.freebsd.org
 _http._tcp.update.freebsd.org has SRV record 1 10 80 update1.FreeBSD.org.
 
 For some reason your system seems to be not finding this record (hence the
 "looking up mirrors... none found" line).  Maybe there's a problem with your
 recursive DNS server?
 
 Colin Percival

From: "Wouter Oosterveld" <wouter@fizzyflux.nl>
To: "Edwin Groothuis" <edwin@mavetju.org>
Cc: "FreeBSD Gnats Submit" <freebsd-gnats-submit@freebsd.org>
Subject: Re: misc/127498: update.freebsd.org does not exist
Date: Fri, 19 Sep 2008 16:19:02 +0200

 It wasn't the first time I used it. But I now know what the problem
 is. It's the lame DNS-resolver on my Thomson Speedtouch 580i. If I use
 the resolvers of my ISP directly all is well.
 
 Sorry for wasting your time.
 
 2008/9/19 Edwin Groothuis <edwin@mavetju.org>:
 > On Fri, Sep 19, 2008 at 01:55:10PM +0000, Wouter Oosterveld wrote:
 >> >Synopsis:       update.freebsd.org does not exist
 >
 > This is weird, since it should ask for the SRV record of it:
 >
 > update1.freebsd.org.    3600    IN      A       72.21.59.252
 > _http._tcp.update.freebsd.org. 3600 IN  SRV     1 10 80 update1.FreeBSD.org.
 >
 > Is this the first time you use freebsd-update?
 >
 > Edwin
 >
 > --
 > Edwin Groothuis      |            Personal website: http://www.mavetju.org
 > edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/
 >
 
 
 
 -- 
 [
  wouter@berenboot.xs4all.nl is binnenkort niet meer,
 wouter@fizzyflux.nl is mijn nieuwe email-adres.
 ]

From: "Wouter Oosterveld" <wouter@fizzyflux.nl>
To: bug-followup@freebsd.org
Cc: "Edwin Groothuis" <edwin@mavetju.org>
Subject: Re: misc/127498 update.freebsd.org does not exist
Date: Fri, 19 Sep 2008 16:28:39 +0200

 It's an error on my side. The dns-forwarder of my Thompson Speedtouch
 580i does not handle anything other than A- and CNAME-records.
 SRV-records are necessary for freebsd-update to discover mirrors on
 its own. (Thanks Edwin).
>Unformatted:
