diff options
Diffstat (limited to 'README')
-rwxr-xr-x[-rw-r--r--] | README | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 # Go for the real thing -$ git clone git://git.nic.cz/knot +$ git clone git://git.nic.cz/knot-dns.git $ cd knot $ autoreconf -if $ ./configure @@ -75,6 +75,10 @@ $ autoreconf -if $ ./configure $ 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 ============================== Also works for OS X, if you don't want to install gcc from ports. @@ -82,6 +86,7 @@ Prerequisites: - liburcu needs patch for absent compiler TLS capability - patch is located in "scripts/urcu-tls-compat.patch" - patch compatible with liburcu-0.6.7 +- liburcu >= 0.7.0 works out of the box $ mkdir liburcu && cd liburcu $ 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 storage defined in 'storage' variable in configuration. $ 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 Third, lets load server. You can do this by running 'knotd' directly, or with |