Re: resolving all dns though a binary
- From: Jamin Davis <jweb@xxxxxxxxxxxxxxxxx>
- Date: Mon, 27 Aug 2007 00:02:41 +0100
xask: Deepak Mishra <xask.linus@xxxxxxxxx> wrote:
I have a machine on a LAN (192.168.1.x). There is a squid proxy server
running on the server 192.168.1.2 through which i can access the
internet.
Now this machine does not run a DNS server so i can't resolve
hostnames to dns addresses.
So I tried different softwares and found - proxychains
it has an executable 'proxyresolv' which can resolve hostnames
eg -
# proxyresolv google.com
64.x.x.x ...
So the machine running Squid is doing DNS lookups for you when you request,
say, webpages via the proxy - and you want to use that functionality
outside of Squid? proxyresolv can do this but 'normal' lookup fails because
you haven't got a DNS server.. no, I don't think you can. Surely it's
easier to just install a forwarding DNS server on the proxy server and/or
SNAT connections to port 53 on your ISPs DNS server.. maybe you already
have this setup. In that case you can just use "nameserver x.x.x.x" on your
client in /etc/hosts.
I hope this is much clearer
I hope I understood correctly!.
--
Jamin @ Home: Chester UK -<jamin@xxxxxxxxxxxxxxxxx>
.
- Follow-Ups:
- Re: resolving all dns though a binary
- From: xask: Deepak Mishra
- Re: resolving all dns though a binary
- References:
- resolving all dns though a binary
- From: xask: Deepak Mishra
- Re: resolving all dns though a binary
- From: David Schwartz
- Re: resolving all dns though a binary
- From: xask: Deepak Mishra
- resolving all dns though a binary
- Prev by Date: Stats comp.os.linux.networking (last 7 days)
- Next by Date: Re: Ubuntu live cd not connecting to the internet...!!!
- Previous by thread: Re: resolving all dns though a binary
- Next by thread: Re: resolving all dns though a binary
- Index(es):
Relevant Pages
|