per-user resolv.conf

dns

Solution

Short answer is no, see resolv.conf(5). However if you really want this feature, you can reimplement the functions in resolver(3) in a shared library, and use ld-magic to override the originals, at least in dynamically linked applications.

Problem

My linux server has differnt users [u01 - u04], can I have each user use a specific resolv.conf? for example: ``` u01: nameserver=10.14.15.123 u02: nameserver=10.14.15.124 u03: nameserver=10.14.16.125 ```

Original source