~samiam/MaraDNS

ref: 3.5.0002 MaraDNS/build/rpm.mararc -rwxr-xr-x 1.6 KiB View raw
db09084f — Sam Trenholme MaraDNS release 3.5.0002 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Default mararc file for rpm build of MaraDNS.
# This only shows a subset of MaraDNS' features needed to be an
# authoritative and recursive name server.  Look at 
# detailed/example_full_mararc for an example showing most of 
# the features that MaraDNS has.

# Note that this example mararc file will not actually do anything
# without modification.
# Look in the doc/en/examples directory for a working example 
# authoritative nameserver, and a working recursive nameserver.

# The address this DNS server runs on.  If you want to bind 
# to multiple addresses, separate them with a comma like this:
# "10.1.2.3, 10.1.2.4, 127.0.0.1"
ipv4_bind_addresses = "127.0.0.1"
# The directory with all of the zone files
chroot_dir = "/etc/maradns"

# The following line enables recursion on just the loopback interface
recursive_acl = "127.0.0.1/8"

# If you're on a slow network, you may need to increase this value for
# MaraDNS to resolve names
timeout_seconds = 2

# The various zones a MaraDNS server hosts; these zones are just examples

# When running in authoritative mode, we must initialize the csv2 hash, 
# or MaraDNS will be unable to load any csv2 zone files
csv2 = {}

# This is just to show the format of the file
# Note the one zone is commented out.  Any line that starts with 
# a '#' is not read by the parser.  Remove the leading '#' to 
# enable any line that is commented out

# The following line (commented out) tells MaraDNS to look at the 
# file db.example.net to get the zone for example.net
csv2["example.net."] = "db.example.net"
# Naturally, we can have multiple zone files
#csv2["example.com."] = "db.example.com"