Re: resolving all dns though a binary



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.

You see proxyresolv works by tunneling DNS requests through TCP rather
than UDP and then simply tunnels the connection through a proxy
server.

proxyresolv is a simple shell script which -
preload the proxy tunneling library xxxx.so
then executes for eg. - 'dig @4.2.2.2 +tcp google.com' and uses awk to
print out only the ip addresses.

Now do you see something ?
I could force all DNS requests though a TCP connection and then
preload the proxy tunneling and acheive what i want to .
but how ?

Deepak


.



Relevant Pages

  • Re: DNS lookups and Sites and Services
    ... We have sites all over the country and in order to use our Proxy ... config file. ... Modern Windows clients do something very similar, ... Each of the DC's is a DNS server (DHCP ...
    (microsoft.public.win2000.active_directory)
  • Re: Root server
    ... >> someway as this is a root dns server? ... If you really need the root zone you may not want ... if he's using Proxy or ISA with the Web caching service to take ... Microsoft Windows MVP - Active Directory ...
    (microsoft.public.win2000.dns)
  • Squid transparent proxy DNS error
    ... the the local squid port. ... When I open a browser on a client device I ... I have tried setting the DNS server in squid.conf to point to my ISP's ... manually configure the client browser to use the proxy, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: IE langsam via Proxy, aber schnell ohne // bei W2000 via Proxy trotzdem schnell.. ??
    ... > Gateway ist unser Router und DNS Server unser DC (ist DNS Server und Proxy) ... > Unter Verbindungen ist dieser Proxy auf Port 8080 eingetragen als manueller ...
    (microsoft.public.de.german.inetexplorer.ie6)
  • Re: Priority of HOSTS File and DNS Server
    ... He didn't say which proxy HTTP server he is using. ... proxy DNS server to query it using the normal "split horizon" mechanism. ... Mark appears to be concentrating upon web browsers and web browser ... a PAC script to change from whence the browser fetches particular ...
    (microsoft.public.windows.server.dns)