From owner-freebsd-questions@FreeBSD.ORG Fri Mar 11 15:33:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D290216A4CE for ; Fri, 11 Mar 2005 15:33:38 +0000 (GMT) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E5A743D58 for ; Fri, 11 Mar 2005 15:33:38 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend2.messagingengine.com (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id 767A8C60B37 for ; Fri, 11 Mar 2005 10:33:37 -0500 (EST) X-Sasl-enc: joUPIkrQ6UuwZIdgL/Ov8A 1110555216 Received: from gumby.localhost (dsl-80-41-76-95.access.as9105.com [80.41.76.95]) by frontend2.messagingengine.com (Postfix) with ESMTP id B369775E for ; Fri, 11 Mar 2005 10:33:36 -0500 (EST) From: RW To: freebsd-questions@freebsd.org Date: Fri, 11 Mar 2005 15:33:35 +0000 User-Agent: KMail/1.7.2 References: <68b3483d05031102153d1b67b5@mail.gmail.com> In-Reply-To: <68b3483d05031102153d1b67b5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503111533.36008.list-freebsd-2004@morbius.sent.com> Subject: Re: portinstall: fetch(1) doesn't fetch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 15:33:38 -0000 On Friday 11 March 2005 10:15, h p wrote: > Hi, > I don't understand the behaviour of fetch(1). Whenever I try to fetch > from an URL, I get anwers like > > > fetch http://www.google.com > > fetch: http://www.google.com: No address record > This is what you get when fetch can't do a successful dns lookup. Just a thought, but I had a problem with the dns proxy on my adsl-nat-router where certain applications were consistently failing to get DNS resolution, and similar applications were consistently working. It went away when I disabled dhcp, and entered the isp servers in resolve.conf To use wget look at FETCH_CMD, and related variables, in /usr/ports/Mk/bsd.port.mk. I think you also need to set NO_SIZE to prevent a fetch specific option being used.