Re: resolving all dns though a binary



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>

.



Relevant Pages

  • Re: RWW Issue
    ... can resolve this issue: ... | I remote desktop into it. ... | desktop is enabled to allow remote connections. ... | DNS server failed the update request. ...
    (microsoft.public.windows.server.sbs)
  • Re: logonserver
    ... If you demote a DC the name is NOT removed in AD sites and services, this has to be done manual, so what you see is expected because it was still in the site. ... 'Meinolf Weber [MVP-DS Wrote: ... Have you configured a FORWARDER in ALL DNS server properties to your ... get problems when I try to resolve certain domains and as a result I ...
    (microsoft.public.windows.server.networking)
  • Re: Any way to trick DNS?
    ... > has a record called hostname.company.com that replicates to every DC ... > Can we force the DNS server in Site C to search a child domain first ... > and resolve it to 1.2.3.4? ... please direct all replies ONLY to the Microsoft public newsgroup ...
    (microsoft.public.windows.server.dns)
  • Re[2]: dns question
    ... deleting the exisiting nameserver statements, ... addresses from the ISP obtained via DHCP. ... I wasn't expecting the server to be able to resolve any other ... you have told your DNS server what it needs to do. ...
    (Fedora)
  • Re: dns question
    ... resolve the reverse look up of the private LAN addresses.... ... addresses from the ISP obtained via DHCP. ... I wasn't expecting the server to be able to resolve any other ... you have told your DNS server what it needs to do. ...
    (Fedora)