# Example simplified mararc file. # This only shows a subset of MaraDNS' features needed to be an # authoritative name server. # The various zones we support # We must initialize the csv1 hash, or MaraDNS will be unable to # load any zone files csv1 = {} # Here is a pointer to a zone file for example.com csv1["example.com."] = "db.example.com" # And a pointer to a zone file for example.org csv1["example.org."] = "db.example.org" # The address this DNS server runs on. If you want to bind # to all addresses a given machine has, use "0.0.0.0". bind_address = "0.0.0.0" # The directory with all of the zone files chroot_dir = "/etc/maradns" # The numeric UID MaraDNS will run as maradns_uid = 99 # The maximum number of processes the zone server is allowed to run maxprocs = 96 # Most of the time, this can stay 3. However, when registering # a domain under .de, .au, and possibly other top-level-domains, this # needs to have a value of 15. default_rrany_set = 3 # The number of messages we log to stdout # 0: No messages except for fatal parsing errors and the legal disclaimer # 1: Only startup messages logged (default) # 2: Error queries logged # 3: All queries logged (but not very verbosely right now) verbose_level = 1 # Here is a ACL which restricts who is allowed to perform zone transfer from # the zoneserver program # VERY IMPORTANT: Do not put spaces in the zone_transfer_acl list # Good: zone_transfer_acl = "10.2.3.4,10.2.3.6" # Bad: zone_transfer_acl = "10.2.3.4, 10.2.3.6" # Simple form: 10.1.1.1/24 (IP: 10.1.1.1, 24 left bits in IP need to match) # and 10.100.100.100/255.255.255.224 (IP: 10.100.100.100, netmask # 255.255.255.224) are allowed to connect to the zone server # Change this to a listing of the IPs you want to allow to connect # to the zoneserver # NOTE: The "maradns" program does not serve zones. Zones are served # by the "zoneserver" program. # zone_transfer_acl = "10.1.1.1/24,10.100.100.100/255.255.255.224"