On 07/09/16 08:43, Christian Seiler wrote: > There's a piece of software called nss_wrapper, written by the > Samba people, that allows you to modify glibc's DNS functions' > (getaddrinfo, gethostbyname, ...) behavior via an LD_PRELOAD > library. It's called nss_wrapper;
This is an excellent suggestion. Sadly, I've tried to use it for the tests of a golang library, only to realise that it does not work because everything in golang is statically compiled :/ -- Martín Ferrari (Tincho)