Loading AUTHORS +1 −0 Original line number Diff line number Diff line Dom Sekotill First version of all files. READMEdeleted 100644 → 0 +0 −0 Empty file deleted. README.md 0 → 100644 +49 −0 Original line number Diff line number Diff line resolv-ns-override ================== This is an LD_PRELOAD-able library for hooking into the glibc resolver library and modifying the configured name-servers. It allows for the use of individual configurations when running programs that use the standard reolver library. Installation ------------ ### Quick Install To quickly install the library, run the following commands (this assumes you are running as a non-root user and have sudo-rights on the system): ``` ./configure make sudo make install ``` ### Quick Single-User Install ``` ./configure --prefix=$HOME make install ``` ### More Details For a more detailed explanation of the configure-and-compile system used read the file `INSTALL`. Running `./configure --help` will produce a summary of the options which change install locations and optional build features. Debug Logging ------------- Building the library with debug logging is as simple as adding '-DDEBUG' to the CFLAGS variable when configuring: ``` ./configure CFLAGS='-DDEBUG' ``` The log messages are then appended to the file named at run-time in the `RESOLV_NS_OVERRIDE_LOG` environment variable. If the value of `RESOLV_NS_OVERRIDE` is '-' the messages are printed to `stderr`. configure.ac +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ # AC_INIT([resolv-ns-override], [0.1.0]) AM_INIT_AUTOMAKE() AM_INIT_AUTOMAKE([foreign]) AC_PROG_CC_C99() AC_PROG_LIBTOOL() Loading Loading
AUTHORS +1 −0 Original line number Diff line number Diff line Dom Sekotill First version of all files.
README.md 0 → 100644 +49 −0 Original line number Diff line number Diff line resolv-ns-override ================== This is an LD_PRELOAD-able library for hooking into the glibc resolver library and modifying the configured name-servers. It allows for the use of individual configurations when running programs that use the standard reolver library. Installation ------------ ### Quick Install To quickly install the library, run the following commands (this assumes you are running as a non-root user and have sudo-rights on the system): ``` ./configure make sudo make install ``` ### Quick Single-User Install ``` ./configure --prefix=$HOME make install ``` ### More Details For a more detailed explanation of the configure-and-compile system used read the file `INSTALL`. Running `./configure --help` will produce a summary of the options which change install locations and optional build features. Debug Logging ------------- Building the library with debug logging is as simple as adding '-DDEBUG' to the CFLAGS variable when configuring: ``` ./configure CFLAGS='-DDEBUG' ``` The log messages are then appended to the file named at run-time in the `RESOLV_NS_OVERRIDE_LOG` environment variable. If the value of `RESOLV_NS_OVERRIDE` is '-' the messages are printed to `stderr`.
configure.ac +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ # AC_INIT([resolv-ns-override], [0.1.0]) AM_INIT_AUTOMAKE() AM_INIT_AUTOMAKE([foreign]) AC_PROG_CC_C99() AC_PROG_LIBTOOL() Loading