README.md 872 Bytes
Newer Older
Jan Včelák's avatar
Jan Včelák committed
1
2
# Knot DNS Resolver

3
4
5
6
7
8
9
10
11
12
13
## Preparation

The Knot DNS Resolver depends on the Knot DNS library which is introduced in current master, and on the
reasonably recent version of the `libuv`.

### libuv

If the libuv with a version at least 1.0 is not present on your system,
compile and install the sources code from the Git repository.

```
Ondřej Surý's avatar
Ondřej Surý committed
14
$ git clone https://github.com/libuv/libuv.git
15
16
17
18
19
$ cd libuv
$ ./autogen.sh
$ make && make install
```

Jan Včelák's avatar
Jan Včelák committed
20
21
## Compilation

22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
```
$ export PKG_CONFIG_PATH="..." # Change, if you installed the libknot somewhere else
$ ./configure
$ autoreconf -if
$ make
```

## Running

There is a separate resolver library in the `lib` directory, and a minimalistic daemon in
the `daemon` directory. The daemon accepts a few CLI parameters, and there's no support for configuration
right now.

```
$ ./daemon/kresolved -h
$ ./daemon/kresolved -a 127.0.0.1#53
```