From owner-freebsd-questions Tue Sep 26 14:56:28 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA24243 for questions-outgoing; Tue, 26 Sep 1995 14:56:28 -0700 Received: from devnull (devnull.mpd.tandem.com [131.124.4.29]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA24234 for ; Tue, 26 Sep 1995 14:56:22 -0700 Received: from olympus by devnull (8.6.8/8.6.6) id QAA04964; Tue, 26 Sep 1995 16:56:03 -0500 Received: by olympus (4.1/TSS2.1) id AA29747; Tue, 26 Sep 95 16:56:05 CDT From: faulkner@mpd.tandem.com (Boyd Faulkner) Message-Id: <9509262156.AA29747@olympus> Subject: Re: SOCKS - anyone? To: laufen@sol.med.ge.com (Derek Laufenberg x7-4534) Date: Tue, 26 Sep 1995 16:56:04 -0500 (CDT) Cc: freebsd-questions@freebsd.org In-Reply-To: <9509261457.AA11867@merak.med.ge.com> from "Derek Laufenberg x7-4534" at Sep 26, 95 09:57:20 am X-Mailer: ELM [version 2.4 PL17] Content-Type: text Content-Length: 1548 Sender: owner-questions@freebsd.org Precedence: bulk > > > Hi, > > Last weekend I was working on porting the SOCKS 4.2 software to > freebsd. The 4.2 code already had an entry for freebsd1.1. This worked > fine to get the code to compile. When I started testing the clients > they would work only if I gave the IP number. It failed if name resolution > was required. > > I don't run DNS locally. The SOCKS server is running it and I know that > works because we have this software installed on or sun network and > the SOCKS clients work fine there. I assume you Sun's DNS is set up correctly. Use the same nameserver as the Socks server via /etc/resolv.conf > > Stepping thru the client code it looked like the local system was being > used to do name resolution. Indeed. > > Does anybody on this list use SOCKS? Any clues about how to get > the remote server to do the DNS resolution? I don't think you can without adding more to the library. Socks only implements the sockets stuff. You would have to implement the DNS stuff. The real question is... if you have access to the socks server, do you not also have access to the socks servers name server? If so, why not use it? If you want to resolv with the local /etc/hosts file, you can set that in /etc/host.conf. Good luck. Boyd > > > Thanks, > > Derek Laufenberg > laufen@sol.med.ge.com > -- _______________________________________________________________________ Boyd Faulkner - faulkner@isd.tandem.com - http://cactus.org/~faulkner _______________________________________________________________________