[RndTbl] Learning a little about /etc/hosts

Kevin McGregor kevin.a.mcgregor at gmail.com
Mon Aug 9 13:11:15 CDT 2010


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'm just an idea rat.

On Mon, Aug 9, 2010 at 11:43 AM, John Lange <john at johnlange.ca> wrote:

> On Mon, 2010-08-09 at 10:41 -0500, Sean Walberg wrote:
> > 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.
>
> This just reminded me of something, I've always wondered is why you
> can't have a "hosts" file in your home directory that takes priority
> over /etc/hosts.
>
> On my laptop I have a number of entries in /etc/hosts and every dam time
> I rebuild my laptop I forget to take a current backup and I have to
> rebuild it.
>
> /home is on a separate partition so I wouldn't loose it on a rebuild.
>
> Any suggestions on alternative ways to solve this?
>
> --
> John Lange
> http://www.johnlange.ca
>
>
>
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.mb.ca
> http://www.muug.mb.ca/mailman/listinfo/roundtable
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.muug.mb.ca/pipermail/roundtable/attachments/20100809/2cc4150b/attachment.html 


More information about the Roundtable mailing list