X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=autodns.conf;fp=autodns.conf;h=b320c27de9dbbcdb6e53b5b37f9bd0ad09e2edad;hb=7cff990ef4df44469d5bed817fda2292931a74ae;hp=0000000000000000000000000000000000000000;hpb=3c571e259ea33befdc6dff62ea6024415cbdcb7e;p=autodns.git diff --git a/autodns.conf b/autodns.conf new file mode 100644 index 0000000..b320c27 --- /dev/null +++ b/autodns.conf @@ -0,0 +1,31 @@ +# +# AutoDNS config file. +# +# These are sort of suitable for a Debian setup. +# + +# Who I should reply as. +$me="autodns\@earth.li"; + +# Who replies should be CCed to. +$ccreply="noodles\@earth.li"; + +# Where to look for zones we're already hosting. +@cfgfiles=("/etc/bind/named.conf", + "/etc/bind/named.secondary.conf"); + +# The file we should add/delete domains from. +$conffile="/etc/bind/named.secondary.conf"; + +# The file that contains details of the authorized users. +$usersfile="/etc/bind/autodns.users"; + +# Base file name to for list of users 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"; + +# The command to reload the nameserver domains list. +$reload_command="sudo ndc reconfig 2>&1";