mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-28 10:39:33 -05:00
example config section in manual.
git-svn-id: file:///svn/unbound/trunk@448 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
1460965467
commit
ba1bda607b
2 changed files with 28 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
24 July 2007: Wouter
|
||||
- Example section in config manual.
|
||||
|
||||
20 July 2007: Wouter
|
||||
- Check CNAME chain before returning cache entry with CNAMEs.
|
||||
- Option harden-glue, default is on. It will discard out of zone
|
||||
|
|
|
|||
|
|
@ -24,6 +24,31 @@ The notation is: attribute: value.
|
|||
Comments start with # and last to the end of line. Empty lines are
|
||||
ignored as is whitespace at the beginning of a line.
|
||||
|
||||
.El
|
||||
.Sh EXAMPLE
|
||||
An example config file is shown below. Copy this to /etc/unbound/unbound.conf
|
||||
and start the server with:
|
||||
.nf
|
||||
$ unbound -c /etc/unbound/unbound.conf
|
||||
.fi
|
||||
Most settings are the defaults. Stop the server with:
|
||||
.nf
|
||||
$ kill `cat /etc/unbound/unbound.pid`
|
||||
.fi
|
||||
Below is a minimal config file. The source distribution contains an extensive
|
||||
example.conf file with all the options.
|
||||
|
||||
.nf
|
||||
# unbound.conf(5) config file for unbound(8).
|
||||
server:
|
||||
directory: "/etc/unbound"
|
||||
username: unbound # make sure it can write to pidfile, logfile.
|
||||
chroot: "/etc/unbound"
|
||||
logfile: "/etc/unbound/unbound.log"
|
||||
pidfile: "/etc/unbound/unbound.pid"
|
||||
# verbosity: 1 # uncomment and increase to get more logging.
|
||||
.fi
|
||||
|
||||
.El
|
||||
.Sh FILE FORMAT
|
||||
There must be whitespace between keywords. Attribute keywords end with a colon ':'. An attribute
|
||||
|
|
|
|||
Loading…
Reference in a new issue