On Fri, Sep 30, 2016 at 10:22:35AM -0500, Tim Daneliuk wrote: > In my particular case, I am trying to figure out a way to redirect > gethostbyname() calls to the resolver of my choice so that existing > code will run without change. The problem is that I need to do > this without root or sudo access to the machines in question, and > this is increasingly looking impossible.
AFAICS, yes, you must have root. Even if your libc resolver supports using a different port, you would have to be root to change /etc/resolv.conf. Another root trick to use could be to redirect 127.0.0.1:53 (both TCP and UDP) to :1035 (or other such non-privileged port as needed.) -- http://rob0.nodns4.us/ Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users