From 54f22ae3e250edf88f1126e3278a16424cc91582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eckl=2C=20M=C3=A1t=C3=A9?= <ecklm94@gmail.com> Date: Fri, 27 May 2016 02:35:18 +0200 Subject: [PATCH] Kb full doksi megvan --- overwiew.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/overwiew.md b/overwiew.md index 845bbb4..5f2ea02 100644 --- a/overwiew.md +++ b/overwiew.md @@ -24,6 +24,31 @@ Some system calls or solutions are UNIX/Linux specific. The server is only able to serve A, AAAA, CNAME and TXT records. +## Install + +It does not really have a real installation process but there are some circumstances that should be set. + +A `dnsuser` and a `dns.db` file should exist and the dnsuser group should have read privileges to the file. + +The following commands may be used to set the user stuff: +```bash +sudo useradd --no-create-home --user-group --system dnsuser +sudo chown my-user:dnsuser dns.db +chmod g=r dns.db +``` + +### The database + +In the database the `record` table should exist as the following: + +| Name | Type | Constraint | +|---------|--------|------------------------------| +| id | int | not null, auto increment | +| name | text | not null | +| type | text | not null | +| content | text | not null | + + ## Other Some specific wrapper classes have been created to simplify coding, but they all are task specific and therefore may hardly be used in a significally different context. -- GitLab