]> the.earth.li Git - autodns.git/commitdiff
cscvs to tla changeset 15
authorJonathan McDowell <noodles@earth.li>
Wed, 15 Jun 2005 10:41:54 +0000 (10:41 +0000)
committerJonathan McDowell <noodles@earth.li>
Wed, 15 Jun 2005 10:41:54 +0000 (10:41 +0000)
Author: noodles
Date: 2005/06/15 10:26:25
Add help for MASTER command.

git-archimport-id: noodles@earth.li--pie/autodns--mainline--1.0--patch-14

autodns.pl

index 5aba950e52b7bb379f2c240fdde0bdbec271a54e..67beb7a92a8f9c65cc003298d9bf0ae2915421ee 100755 (executable)
@@ -5,7 +5,7 @@
 # http://www.earth.li/projectpurple/progs/autodns.html
 # Released under the GPL.
 #
-# $Id: autodns.pl,v 1.14 2005/06/15 10:14:28 noodles Exp $
+# $Id: autodns.pl,v 1.15 2005/06/15 10:26:25 noodles Exp $
 #
 
 use strict;
@@ -501,6 +501,10 @@ zone \"$domain\" {
                print REPLY "LIST - show all the zones currently held by you.\n";
                print REPLY "ADD <domain> - adds the domain <domain> for processing.\n";
                print REPLY "DEL <domain> - removes the domain <domain> if you own it.\n";
+               if (($priv & 1) == 1) {
+                       print REPLY "MASTER <ip address> - set the nameserver".
+                       " we should slave off for subsequent ADD commands.\n";
+               }
        } elsif ($inprocess) {
                print REPLY "Unknown command!\n";
        }