Per-process hosts file

Kevin Darcy kcd at daimlerchrysler.com
Thu Oct 27 19:30:38 UTC 2005


Kenneth Porter wrote:

>I'd like to run a commercial process (no source) on my Linux box with a 
>custom host mapping that doesn't affect anything else on the box. But I 
>can't seem to find a way to get a single process or user to use a different 
>hosts file. I'm thinking I might be able to hook in a custom libnss_files 
>library. Is there an easier way?
>
/etc/hosts really doesn't have anything to do with BIND or DNS.

A couple of answers off the top of my head though: chroot, virtual machine.

                                                                         
                     - Kevin




More information about the bind-users mailing list