From 88e5b43bbafc83d80e3e2d17d856c84deb922593 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Wed, 15 Jun 2005 10:41:53 +0000 Subject: [PATCH] cscvs to tla changeset 8 Author: noodles Date: 2005/04/08 13:51:13 0.0.8; bump version number and update docs a little. git-archimport-id: noodles@earth.li--pie/autodns--mainline--1.0--patch-7 --- HISTORY | 4 +++- README | 10 +++++----- autodns.pl | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/HISTORY b/HISTORY index 206261c..4ee8cfe 100644 --- a/HISTORY +++ b/HISTORY @@ -43,6 +43,8 @@ * Fix for problems with gpg flushing & lots of domains. (James Harrison) * Fix bug with writing filenames with /s in them - we convert them to :s now. -0.0.8 +0.0.8 - 9th April 2005 * Add support for MIME signed mails. (Simon Huggins) +* Ensure existance of domain list for users. +* Move config out to a separate file. diff --git a/README b/README index dbdc8eb..cfe3116 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -autodns 0.0.7 - A program to aid auto addition of secondary DNS. -Copyright 1999-2004 Jonathan McDowell for Project Purple. +autodns 0.0.8 - A program to aid auto addition of secondary DNS. +Copyright 1999-2005 Jonathan McDowell for Project Purple. http://www.earth.li/projectpurple/progs/autodns.html @@ -14,9 +14,9 @@ configure it to know about the key IDs of all the people you wish to be able to setup secondaries on your server and add their keys to the GPG keyring for the user it runs under. -Most of the configuration options are at the top of autodns.pl, just -after where VERSION is defined. The other bit of config that's needed is -a users file. +The config file is autodns.conf; its location is controlled near the top +of autodns.pl - it defaults to /etc/bind/autodns.conf. The other bit of +config that's needed is a users file. You'll also need a way for the script to be able to do a "ndc reconfig" to load the info about the new secondary domains - I do this using sudo. diff --git a/autodns.pl b/autodns.pl index cfa9510..f84300f 100755 --- a/autodns.pl +++ b/autodns.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl -Tw -# autodns 0.0.7 -# Copyright 1999-2004 Project Purple. Written by Jonathan McDowell +# autodns 0.0.8 +# Copyright 1999-2005 Project Purple. Written by Jonathan McDowell # See ACKNOWLEDGEMENTS file for full details of contributors. # http://www.earth.li/projectpurple/progs/autodns.html # Released under the GPL. # -# $Id: autodns.pl,v 1.7 2005/04/08 11:45:12 noodles Exp $ +# $Id: autodns.pl,v 1.8 2005/04/08 13:51:13 noodles Exp $ # use strict; @@ -21,7 +21,7 @@ my ($user, $server, $inprocess, $delcount, $addcount, $reload_command); my ($domain, @MAIL, @GPGERROR, @COMMANDS, %zones); my ($me, $ccreply, $conffile, $domainlistroot, @cfgfiles, $VERSION); -$VERSION="0.0.7"; +$VERSION="0.0.8"; # # Load our config -- 2.39.2