~ubuntu-branches/ubuntu/wily/maradns/wily-proposed

« back to all changes in this revision

Viewing changes to deadwood-3.2.05/doc/dwood3rc

  • Committer: Package Import Robot
  • Author(s): Dariusz Dwornikowski, Tomasz Buchert, Dariusz Dwornikowski
  • Date: 2015-03-27 18:34:08 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20150327183408-wnfachdkdjt96yu6
Tags: 2.0.11-1
[ Tomasz Buchert ]
* Imported Upstream version 2.0.11

[ Dariusz Dwornikowski ]
* d/patches: 
  - refreshed all patches for new deadwood version
  - removed generating of random prime on build (Closes: #785536) 
* d/rules: date taken from changelog (Closes: #785535)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This is an example deadwood rc file 
2
 
# Note that comments are started by the hash symbol
3
 
 
4
 
bind_address="127.0.0.1" # IP we bind to
5
 
 
6
 
# The following line is disabled by being commented out
7
 
#bind_address="::1" # We have optional IPv6 support
8
 
 
9
 
chroot_dir = "/etc/deadwood" # Directory we run program from (not used in Win32)
10
 
 
11
 
# The following upstream DNS servers are Google's newly-announced (as of
12
 
# December, 2009) public DNS servers.  For more information, see
13
 
# the page at http://code.google.com/speed/public-dns/
14
 
#
15
 
# These IPs can be changed to the IPs of any recursive DNS servers that
16
 
# can be reached from the computer running Deadwood.
17
 
#
18
 
# These are commented out; if upstream_servers is not set, Deadwood will
19
 
# act as a recursive DNS server
20
 
#
21
 
# Please note that each upstream_servers entry takes up space in Deadwood's
22
 
# cache and that maximum_cache_elements will need to be increased to store
23
 
# a large number of these entries.
24
 
#upstream_servers = {}
25
 
#upstream_servers["."]="8.8.8.8, 8.8.4.4" # Servers we connect to
26
 
 
27
 
# It is also possible to use other root servers or to blacklist
28
 
# a phising website.  However, to do this, root_servers needs to be
29
 
# defined.  For example, to blacklist the domain "phish.example.com":
30
 
#root_servers = {}
31
 
# ICANN DNS root servers (Deadwood default if both root_servers and
32
 
# upstream_servers are not defined)
33
 
#root_servers["."]="198.41.0.4, 192.228.79.201, 192.33.4.12, 199.7.91.13,"
34
 
#root_servers["."]+="192.203.230.10, 192.5.5.241, 192.112.36.4, 128.63.2.53, "
35
 
#root_servers["."]+="192.36.148.17, 192.58.128.30, 193.0.14.129, 199.7.83.42, "
36
 
#root_servers["."]+="202.12.27.33"
37
 
#root_servers["phish.example.com."]="10.254.254.254"
38
 
# Please note that each root_servers entry takes up space in Deadwood's
39
 
# cache and that maximum_cache_elements will need to be increased to store
40
 
# a large number of these entries.
41
 
 
42
 
recursive_acl = "127.0.0.1/16" # Who is allowed to use the cache
43
 
 
44
 
maxprocs = 8 # Maximum number of pending requests
45
 
handle_overload = 1 # Send SERVER FAIL when overloaded
46
 
 
47
 
maradns_uid = 99 # UID Deadwood runs as
48
 
maradns_gid = 99 # GID Deadwood runs as
49
 
 
50
 
maximum_cache_elements = 60000
51
 
 
52
 
# If you want to read and write the cache from disk, make sure chroot_dir 
53
 
# above is readable and writable by the maradns_uid/gid above, and 
54
 
# uncomment the following line
55
 
cache_file = "dw_cache"
56
 
 
57
 
# The following line tells deadwood to fetch an expired record if it's 
58
 
# impossible to connect to any nameservers
59
 
resurrections = 1
60
 
 
61
 
# By default, for security reasons, Deadwood does not allow IPs in the
62
 
# 192.168.x.x, 172.[16-31].x.x, 10.x.x.x, 127.x.x.x, 169.254.x.x,
63
 
# 224.x.x.x, or 0.0.x.x range.  If using Deadwood to resolve names
64
 
# on an internal network, uncomment the following line:
65
 
#filter_rfc1918 = 0
66