From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 22:59:31 2004 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 4E8A316A4CE for ; Tue, 23 Nov 2004 22:59:31 +0000 (GMT) Received: from chello084114137224.1.15.vie.surfer.at (chello084114137224.1.15.vie.surfer.at [84.114.137.224]) by mx1.FreeBSD.org (Postfix) with SMTP id C67D243D45 for ; Tue, 23 Nov 2004 22:59:29 +0000 (GMT) (envelope-from 4711@chello.at) Received: (qmail 7302 invoked from network); 23 Nov 2004 22:59:28 -0000 Received: from matrix010.matrix.net (192.168.123.10) by ns.matrix.net with SMTP; 23 Nov 2004 22:59:28 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Date: Tue, 23 Nov 2004 23:59:11 +0100 User-Agent: KMail/1.7 References: <20041123212208.81596.qmail@web53407.mail.yahoo.com> <200411232236.15541.4711@chello.at> In-Reply-To: <200411232236.15541.4711@chello.at> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411232359.28397.4711@chello.at> cc: Ralph Subject: Re: How do you "make install" without direct internet access? 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: Tue, 23 Nov 2004 22:59:31 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 23 November 2004 22:35, Christian Hiris wrote: > On Tuesday 23 November 2004 22:22, Ralph wrote: > > actually, since I was in csh, the setenv FTP_PROXY > > my.internal.proxy:80 worked like a charm, except that, > > for some reason, fetch refuses to work without > > internet DNS resolution. As with our environment, no > > internal hosts have external DNS resolution - how do > > you solve that? > > Just an idea - try to use your proxy's ip-address instead of hostname. > ie. FTP_PROXY=http://192.168.n.n:80 If the proxy's address is the only address fetch tries to resolve, it maybe could help, if you modify common.c in libfetch. Add "hints.ai_flags = AI_NUMERICHOST;" before the getaddrinfo calls (line# 244 anf 275). This should disable DNS resolving (assuming you set proxy-url to a numeric host as mentioned above). - -- Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBo8DQ09WjGjvKU74RAjowAJ9lB1VWFLn3YqLNPhgvGUanbjn5KQCeJgVZ PGJ3C3jfqA78lX797v7i4eI= =z3vx -----END PGP SIGNATURE-----