ispman/bin ispman.dnsset,1.12,1.13

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv2378/bin

Modified Files:
	ispman.dnsset 
Log Message:
added new option "-s" to allow single SOA updates

Index: ispman.dnsset
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.dnsset,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- ispman.dnsset	30 May 2004 23:35:31 -0000	1.12
+++ ispman.dnsset	30 May 2006 20:35:09 -0000	1.13
@@ -4,21 +4,17 @@
     unshift @INC,
       ( $FindBin::Bin, "$FindBin::Bin/../lib", "$FindBin::Bin/../conf" );
     use Getopt::Std;
-    getopt( 'dt', \%opts );
-    getopt( 'p:', \%opts );
-    getopt( 'v:', \%opts );
+    getopts( 'vd:t:p:s:', \%opts );
     unless ( $opts{'d'} && $opts{'t'} ) {
         print "$FindBin::Script -d domain -t type more parameters\n";
         print " Examples:\n";
         print " $FindBin::Script -d example.com -t A [-p] hostname ipaddress\n";
         print "  -p add also PTR record\n";
-
         print " $FindBin::Script -d example.com -t NS origin nameserver\n";
-        print
-          " $FindBin::Script -d example.com -t MX origin weight mailserver\n";
+        print " $FindBin::Script -d example.com -t MX origin weight mailserver\n";
         print " $FindBin::Script -d example.com -t CNAME alias host\n";
-        print
-" $FindBin::Script -d example.com -t SOA primary rootmail refresh retry expire minimum\n";
+        print " $FindBin::Script -d example.com -t SOA primary rootmail refresh retry expire minimum\n";
+        print " $FindBin::Script -d example.com -t SOA -s [var=val]\n";
         print "\n";
         exit;
     }



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.