From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 07:50:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C23D1065671 for ; Tue, 22 Apr 2008 07:50:12 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id 5C8AC8FC19 for ; Tue, 22 Apr 2008 07:50:10 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 29795 invoked from network); 22 Apr 2008 07:50:09 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.128.183) by smtp.mel.people.net.au with SMTP; 22 Apr 2008 07:50:09 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id C67351707E; Tue, 22 Apr 2008 17:50:02 +1000 (EST) Date: Tue, 22 Apr 2008 17:50:02 +1000 From: andrew clarke To: freebsd-questions@freebsd.org Message-ID: <20080422075002.GA24281@ozzmosis.com> References: <20080421214038.GA80334@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080421214038.GA80334@ozzmosis.com> User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: Looking up portsnap.FreeBSD.org mirrors... none found. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 07:50:12 -0000 On Tue 2008-04-22 07:40:38 UTC+1000, andrew clarke (mail@ozzmosis.com) wrote: > I have serveral FreeBSD machines on my home network and was wondering > why Portsnap failed to find any mirrors on some but not others. I had > a look at the /usr/sbin/portsnap script to find out what it is doing. > The command it calls to search for mirrors is: > > host -t srv _http._tcp.portsnap.freebsd.org > > resulting in: > > ;; connection timed out; no servers could be reached > > After a bit of investigating it turns out that on the machines where > it failed, /etc/resolv.conf was configured to use my D-Link DSL-504T > ADSL modem/router's internal nameserver for DNS lookups. Changing > resolv.conf to instead point directly at my ISP's nameservers solved > the problem. Just a short update to this. The DSL-504T runs embedded Linux, using dproxy as a caching name server. So it would as though dproxy does not support SRV record lookups. Interestingly, dproxy isn't in the FreeBSD Ports tree. http://www.dlink.com.au/Products.aspx?Sec=1&Sub1=1&Sub2=2&PID=49 http://dproxy.sourceforge.net/ http://en.wikipedia.org/wiki/SRV_record