[FoRK] hacking the hosts file

Andy Armstrong < andy at hexten.net > on > Fri Dec 15 00:25:39 PST 2006

On 15 Dec 2006, at 04:15, Udhay Shankar N wrote:
>> I think the answer is "no", but just in case...
>>
>> Is there a way I can use the hosts file to redirect to localhost  
>> all domains except a specified list?
>
> Sure, in a somewhat patchy way.
>
> 1. Make the specified list of IP->hostname mappings in your hosts  
> file.
> 2. Set DNS server to localhost.

That's not going to make all names apart from the ones Corinna  
whitelists resolve to 127.0.0.1 though, is it?

-- 
Andy Armstrong, hexten.net


More information about the FoRK mailing list