You could set something up in your .bashrc to check if /etc/hosts has changed, then make a new copy in ~ if it has. I leave implementation to the student -- I&#39;m just an idea rat.<br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 11:43 AM, John Lange <span dir="ltr">&lt;<a href="mailto:john@johnlange.ca">john@johnlange.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, 2010-08-09 at 10:41 -0500, Sean Walberg wrote:<br>
&gt; Don&#39;t rely on the system resolver... Proxy out, by IP address if need<br>
&gt; be.<br>
&gt;<br>
&gt;<br>
&gt; Not sure if Windows has an equivalent of LD_PRELOAD, but using your<br>
&gt; own resolver that always uses DNS, would do it.<br>
<br>
</div>This just reminded me of something, I&#39;ve always wondered is why you<br>
can&#39;t have a &quot;hosts&quot; file in your home directory that takes priority<br>
over /etc/hosts.<br>
<br>
On my laptop I have a number of entries in /etc/hosts and every dam time<br>
I rebuild my laptop I forget to take a current backup and I have to<br>
rebuild it.<br>
<br>
/home is on a separate partition so I wouldn&#39;t loose it on a rebuild.<br>
<br>
Any suggestions on alternative ways to solve this?<br>
<font color="#888888"><br>
--<br>
</font><div class="im">John Lange<br>
<a href="http://www.johnlange.ca" target="_blank">http://www.johnlange.ca</a><br>
<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
</div></div></blockquote></div><br>