Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 1999 08:18:51 -0500 (EST)
From:      Mikhail Teterin <mi@kot.ne.mediaone.net>
To:        dekker@yahoo-inc.com (Paul Dekker)
Cc:        questions@FreeBSD.ORG
Subject:   Re: http and fetch under socks5
Message-ID:  <199902021318.IAA20753@kot.ne.mediaone.net>
In-Reply-To: <19990201201400.A17481@yahoo-inc.com> from Paul Dekker at "Feb 1, 1999 08:14:00 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Dekker once stated:

=make sure /etc/host.conf contains 'bind' on a line by itself.  The file might look like:

There is.

=nslookup uses the nameservers listed in /etc/resolv.conf.  other applications use resources listed in /etc/host.conf.  if bind isn't in there they won't use the nameserver(s).

Besides, fetch has no problem with ftp URL(s). Other apps resolve fine too: rfinger,
ssh...

	-mi

=Hope this helps.

Nope :(

	-mi

=Mikhail Teterin (mi@kot.ne.mediaone.net) writes:
=> Hi!
=> 
=> The FETCH_CMD on my system is set to be
=> 
=> 	runsocks fetch -p
=> 
=> to work through the firewall, etc. This works just fine for ftp URLs,
=> but all of the http ones fail, claiming the host-name is unresolvable.
=> 
=> 	mi@rtfm:~ (1100) runsocks fetch -p http://www.yahoo.com/index.html
=> 	fetch: `www.yahoo.com': cannot resolve: Host name lookup failure
=> 	mi@rtfm:~ (1101) runsocks fetch http://www.yahoo.com/index.html
=> 	fetch: `www.yahoo.com': cannot resolve: Host name lookup failure
=> 
=> The socks5 daemon runs on 2.2.8-stable. The client machine is the 3.0-stable.
=> 
=> The immediate nslookup resolves the host just fine... Any ideas?  Thanks!
=> 
=> 	-mi
=> 
=> To Unsubscribe: send mail to majordomo@FreeBSD.org
=> with "unsubscribe freebsd-questions" in the body of the message
=> 
=
=-- 
=
=http://home.pacbell.net/dekkers/q/
=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902021318.IAA20753>