Skip to content
Snippets Groups Projects
Commit 54f22ae3 authored by dnsadmin's avatar dnsadmin
Browse files

Kb full doksi megvan

parent c0d7df05
Branches
Tags
No related merge requests found
......@@ -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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment