Skip to content
Snippets Groups Projects
Commit 8e570bf9 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Updated README

refs #1877
parent 347e421a
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ $ sudo dpkg -i liburcu0_0.5.4-1_amd64.deb ...@@ -40,7 +40,7 @@ $ sudo dpkg -i liburcu0_0.5.4-1_amd64.deb
$ sudo dpkg -i liburcu-dev_0.5.4-1_amd64.deb $ sudo dpkg -i liburcu-dev_0.5.4-1_amd64.deb
# Go for the real thing # Go for the real thing
$ git clone git://git.nic.cz/knot $ git clone git://git.nic.cz/knot-dns.git
$ cd knot $ cd knot
$ autoreconf -if $ autoreconf -if
$ ./configure $ ./configure
...@@ -75,6 +75,10 @@ $ autoreconf -if ...@@ -75,6 +75,10 @@ $ autoreconf -if
$ ./configure $ ./configure
$ make && sudo make install $ make && sudo make install
It is also present in port tree, so you can install it from there.
$ cd /usr/ports/dns/knot
$ sudo make install
Installation on OpenBSD/NetBSD Installation on OpenBSD/NetBSD
============================== ==============================
Also works for OS X, if you don't want to install gcc from ports. Also works for OS X, if you don't want to install gcc from ports.
...@@ -82,6 +86,7 @@ Prerequisites: ...@@ -82,6 +86,7 @@ Prerequisites:
- liburcu needs patch for absent compiler TLS capability - liburcu needs patch for absent compiler TLS capability
- patch is located in "scripts/urcu-tls-compat.patch" - patch is located in "scripts/urcu-tls-compat.patch"
- patch compatible with liburcu-0.6.7 - patch compatible with liburcu-0.6.7
- liburcu >= 0.7.0 works out of the box
$ mkdir liburcu && cd liburcu $ mkdir liburcu && cd liburcu
$ wget "http://lttng.org/files/urcu/userspace-rcu-0.6.7.tar.bz2" $ wget "http://lttng.org/files/urcu/userspace-rcu-0.6.7.tar.bz2"
...@@ -124,6 +129,10 @@ is '-c' that specifies config file for our server. Compiled zones are saved to ...@@ -124,6 +129,10 @@ is '-c' that specifies config file for our server. Compiled zones are saved to
storage defined in 'storage' variable in configuration. storage defined in 'storage' variable in configuration.
$ knotc -h # see what it can do $ knotc -h # see what it can do
Copy zone to the specified directory and compile.
$ mkdir -p /tmp/knot-minimal/samples; cp samples/example.com.zone /tmp/knot-minimal/samples/
$ knotc -c myserver.conf compile # compile zone files to binary format $ knotc -c myserver.conf compile # compile zone files to binary format
Third, lets load server. You can do this by running 'knotd' directly, or with Third, lets load server. You can do this by running 'knotd' directly, or with
......
...@@ -20,6 +20,8 @@ Knot DNS build system relies on standard tools: ...@@ -20,6 +20,8 @@ Knot DNS build system relies on standard tools:
@item @item
make make
@item @item
libtool
@item
autoconf >= 2.65 autoconf >= 2.65
@item @item
flex >= 2.5.31 flex >= 2.5.31
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment