Commit 29833241 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

added content to AUTHORS & README (now README.md)

* The `README` file is now in markdown format, so has been
renamed to `README.md`.
parent 67465bca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
Dom Sekotill	First version of all files.

README

deleted100644 → 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`.
+1 −1
Original line number Diff line number Diff line
@@ -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()