Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1741
Modified Files:
ispman.dnsset ispman.dnsunset
Log Message:
merged fixes from rel_1_1-bugfixes
Index: ispman.dnsset
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.dnsset,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- ispman.dnsset 9 Jan 2004 21:47:01 -0000 1.10
+++ ispman.dnsset 11 Feb 2004 17:23:49 -0000 1.11
@@ -11,8 +11,8 @@
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 origion nameserver\n";
- print " $FindBin::Script -d example.com -t MX origion mailserver\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 CNAME alias host\n";
print " $FindBin::Script -d example.com -t SOA primary rootmail refresh retry expire minimum\n";
print "\n";
@@ -76,11 +76,11 @@
=head2 NS addresses
-ispman.dnsset -d domainname -t NS origion nameserver
+ispman.dnsset -d domainname -t NS origin nameserver
=head2 MX addresses
-ispman.dnsset -d domainname -t MX origion preference nameserver
+ispman.dnsset -d domainname -t MX origin preference nameserver
=head2 CNAME addresses
Index: ispman.dnsunset
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.dnsunset,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ispman.dnsunset 9 Jan 2004 21:47:01 -0000 1.9
+++ ispman.dnsunset 11 Feb 2004 17:23:49 -0000 1.10
@@ -9,8 +9,8 @@
print "$0 -d domain -t type more parameters\n";
print " Examples:\n";
print " $0 [-v] [-f] -d example.com -t A hostname [ipaddress]\n";
- print " $0 [-v] [-f] -d example.com -t NS origion nameserver\n";
- print " $0 [-v] [-f] -d example.com -t MX origion mailserver\n";
+ print " $0 [-v] [-f] -d example.com -t NS origin nameserver\n";
+ print " $0 [-v] [-f] -d example.com -t MX origin weight mailserver\n";
print " $0 [-v] [-f] -d example.com -t CNAME alias host\n";
print " $0 [-v] [-f] -d example.com -t SOA primary rootmail refresh retry expire minimum\n";
print "\n";
@@ -49,11 +49,11 @@
sub unset_ns {
my $domain=$opts{'d'};
- my ($origion, $host)=@ARGV;
- my $dn=$ispman->getnSRecordDn($domain, $origion, $host);
+ my ($origin, $host)=@ARGV;
+ my $dn=$ispman->getnSRecordDn($domain, $origin, $host);
if ($ispman->entryExists($dn)){
- print "$domain: deleting NS record $origion $host\n" if defined $opts{'v'};
+ print "$domain: deleting NS record $origin $host\n" if defined $opts{'v'};
$ispman->deleteEntry($dn);
};
@@ -67,11 +67,11 @@
sub unset_mx {
my $domain=$opts{'d'};
- my ($origion, $pref, $host)=@ARGV;
- my $dn=$ispman->getmXRecordDn($domain, $origion, $pref, $host);
+ my ($origin, $pref, $host)=@ARGV;
+ my $dn=$ispman->getmXRecordDn($domain, $origin, $pref, $host);
if ($ispman->entryExists($dn)){
- print "$domain: deleting MX record $origion $pref $host\n" if defined $opts{'v'};
+ print "$domain: deleting MX record $origin $pref $host\n" if defined $opts{'v'};
$ispman->deleteEntry($dn);
};
@@ -194,11 +194,11 @@
=head2 NS addresses
-ispman.dnsset -d domainname -t NS origion nameserver
+ispman.dnsset -d domainname -t NS origin nameserver
=head2 MX addresses
-ispman.dnsset -d domainname -t MX origion preference nameserver
+ispman.dnsset -d domainname -t MX origin preference nameserver
=head2 CNAME addresses
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
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.