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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With