Don't rely on the system resolver... Proxy out, by IP address if need be.
Not sure if Windows has an equivalent of LD_PRELOAD, but using your own resolver that always uses DNS, would do it.
Sean
On Mon, Aug 9, 2010 at 10:19 AM, Adam Thompson
<athompso@athompso.net> wrote:
Interesting mental exercise - the most comprehensive way around that filtering technique is simply to delete the hosts file (or edit it, I suppose).
But if it were somehow made immutable, how would I get around it?
Ignoring the difficulty of doing so under Winsock32, I think I would run a transparent http proxy server bound to localhost that did its own DNS without relying on the system libs... Hmm, that sounds exactly like the win32 port of squid.
-Adam
--
Sean Walberg <sean@ertw.com> http://ertw.com/