Skip to content
Snippets Groups Projects
Commit 3e1f5a7f authored by Daniel Salzman's avatar Daniel Salzman
Browse files

doc: update storage/rundir description

parent 6d2d6ebe
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,8 @@ Now let's go step by step through this minimal configuration file:
@item
In @code{system} statement we have configured @code{storage}
directory where Knot DNS will store compiled zone files,
PID file and for slave zone also their journal files. (See @ref{system} and @ref{storage})
directory where Knot DNS will store slave zones and journal files.
(See @ref{system} and @ref{storage})
@item
The @code{interfaces} statement defines interfaces where Knot
......
......@@ -141,8 +141,7 @@ system @{
@subsubsection storage
@vindex storage
The working directory of Knot DNS, it is used to store compiled zone files and
other persistent data.
The working directory of Knot DNS, it is used to store zone files and journal files.
Default: @file{$@{sharedstatedir@}/knot}, configured with @code{--with-storage=path}
@example
......
......@@ -64,21 +64,30 @@ Actions:
memstats [zone] Estimate memory consumption for zone (all if not specified).
@end example
Also, the server needs to create several files in order to run properly.
Zones and related data are stored in the directory described by @code{storage} (@pxref{storage}).
Also, the server needs to create several files in order to run properly. These
files are stored in the folowing directories.
@code{storage} (@pxref{storage}):
@itemize @bullet
@item
@emph{Zone files} - default directory for storing zone files. This can be overriden
using absolute zone file location.
@item
@emph{Journal files} - each zone has a journal file to store differences for IXFR and
dynamic updates. Journal for zone @code{example.com} will be
placed in @file{STORAGE/example.com.diff.db}.
dynamic updates. Journal for zone @code{example.com} will be placed in @file{example.com.diff.db}.
@end itemize
@code{rundir} (@pxref{rundir}):
@itemize @bullet
@item
@emph{PID file} - is created automatically in @code{rundir} (@pxref{rundir}) when
the server is run in background.
@emph{PID file} - is created automatically when the server is run in background.
@item
@emph{Control sockets} - as a default, UNIX sockets are created in @code{rundir} (@pxref{rundir}),
but can be overriden.
@emph{Control sockets} - as a default, UNIX sockets are created here,
but this can be overriden.
@end itemize
@node Running a slave server
......
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