[](https://travis-ci.org/CZ-NIC/knot-resolver)
[](https://coveralls.io/r/CZ-NIC/knot-resolver)
+[](https://scan.coverity.com/projects/3912)
+
The Knot DNS Resolver is a minimalistic caching resolver implementation. The project provides both a resolver
library and a small daemon. Modular architecture of the library keeps the core tiny and efficient, and provides
### Building from sources
-The Knot DNS Resolver [depends][depends] on the development version of the Knot DNS library.
-Several dependencies may not be in the packages yet, the script pulls and installs all dependencies in a chroot.
-
-You can avoid rebuilding dependencies by specifying `BUILD_IGNORE` variable, see the [Dockerfile](scripts/Dockerfile)
-for example. Usually you only really need to rebuild `libknot`.
-
-```
-$ export FAKEROOT="${HOME}/.local"
-$ export PKG_CONFIG_PATH="${FAKEROOT}/lib/pkgconfig"
-$ ./scripts/bootstrap-depends.sh ${FAKEROOT}
-$ make
-$ make check
-```
+The Knot DNS Resolver [depends][depends] on the pre-release version of the Knot DNS library and other projects.
+See the [Building project][depends] documentation page for more information.
### Running
-There is a separate resolver library in the `lib` directory, and a daemon in the `daemon` directory.
+The project builds a resolver library in the `lib` directory, and a daemon in the `daemon` directory.
```
$ ./daemon/kresolved -h
-$ ./daemon/kresolved -a "127.0.0.1#53"
+$ ./daemon/kresolved [working_directory]
```
-### More
-
See the documentation at [knot-resolver.readthedocs.org][doc].
[depends]: http://knot-resolver.readthedocs.org/en/latest/build.html
$ make check libknot_CFLAGS="-I/opt/include" libknot_LIBS="-L/opt/lib -lknot -lknot-int -ldnssec"
+.. note:: If the dependencies lie outside of library search path, you need to add them somehow.
+ Try ``LD_LIBRARY_PATH`` on Linux/BSD, and ``DYLD_FALLBACK_LIBRARY_PATH`` on OS X. Otherwise you might
+ need to add the locations to the linker search path.
+
When you have all the dependencies ready, you can build, test and install.
.. code-block:: bash