]> the.earth.li Git - autodns.git/blobdiff - autodns.conf
Release 1.0.0
[autodns.git] / autodns.conf
index b320c27de9dbbcdb6e53b5b37f9bd0ad09e2edad..d2d3269eb0e0ecb9291006151db59c0f46c25ac6 100644 (file)
@@ -5,27 +5,37 @@
 #
 
 # Who I should reply as.
-$me="autodns\@earth.li";
+$me = "autodns\@earth.li";
 
 # Who replies should be CCed to.
-$ccreply="noodles\@earth.li";
+$ccreply = "noodles\@earth.li";
 
 # Where to look for zones we're already hosting.
-@cfgfiles=("/etc/bind/named.conf",
+@cfgfiles = ("/etc/bind/named.conf",
        "/etc/bind/named.secondary.conf");
 
 # The file we should add/delete domains from.
-$conffile="/etc/bind/named.secondary.conf";
+$conffile = "/etc/bind/named.secondary.conf";
 
 # The file that contains details of the authorized users.
-$usersfile="/etc/bind/autodns.users";
+$usersfile = "/etc/bind/autodns.users";
 
 # Base file name to for list of users domains.
-$domainlistroot="/etc/bind/domains.";
+$domainlistroot = "/etc/bind/domains.";
 
 # The lockfile we use to ensure we have exclusive access to the
 # $domainlistroot$user files and $conffile.
-$lockfile="/etc/bind/autodns.lck";
+$lockfile = "/etc/bind/autodns.lck";
 
 # The command to reload the nameserver domains list.
-$reload_command="sudo ndc reconfig 2>&1";
+$reload_command = "sudo ndc reconfig 2>&1";
+
+# When we consider a signature to have expired and so to be rejected.
+# Intended to help prevent reply attacks. Value is in seconds and the 
+# signature can be +/- this many seconds from current time before being
+# rejected.
+$expiry = 7200;
+
+# The directory that secondary zone files live in; we'll create <username>
+# directorys underneath this.
+$zonefiledir = "/var/cache/bind/secondary";