Date: Tue, 23 Nov 2004 23:59:11 +0100 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Cc: Ralph <wildjeep01@yahoo.com> Subject: Re: How do you "make install" without direct internet access? Message-ID: <200411232359.28397.4711@chello.at> In-Reply-To: <200411232236.15541.4711@chello.at> References: <20041123212208.81596.qmail@web53407.mail.yahoo.com> <200411232236.15541.4711@chello.at>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411232359.28397.4711>