From 6d773aaa1afea2fa009f4c396a71f561c62fdb5b Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 9 Oct 2008 22:31:22 +0200 Subject: [PATCH] maradns: Add configuration for authoritive-only mode. --- etc/maradns/mararc | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 etc/maradns/mararc diff --git a/etc/maradns/mararc b/etc/maradns/mararc new file mode 100644 index 0000000..720a6e3 --- /dev/null +++ b/etc/maradns/mararc @@ -0,0 +1,36 @@ +# This file configures maradns to be an authoritive-only dns server, running on +# a non-standard port. +# +# See /usr/share/doc/maradns/en/examples/example_full_mararc.gz or mararc(5) +# for more info. + +# Initialize this variable +csv2 = {} + +# Load the zone files +#csv2["domain.tld."] = "db.domain.tld." + +# 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 = "127.0.0.1" + +# Run on a non-standard port, so another recursive resolver can run on port 53. +# We will be portforwarded anyway, so this doesn't matter. +dns_port = 54 + +# The directory with all of the zone files +chroot_dir = "/data/db/dns" + +# Run as user / group maradns +maradns_uid = 104 +maradns_gid = 104 + +# 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 + +# Don't show the (long) disclaimer in syslog +hide_disclaimer = "yes" -- 2.30.2