For user resolv.conf

There are different users in my Linux server [u01 - u04], can I use each specific resolv.conf file?

eg:

u01:  nameserver=10.14.15.123
u02:  nameserver=10.14.15.124
u03:  nameserver=10.14.16.125
+5
source share
1 answer

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

+3
source

All Articles