ispman/lib/ISPMan/DNSMan SOArecords.pm,1.21,1.22
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib/ISPMan/DNSMan
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv21765/lib/ISPMan/DNSMan
Modified Files:
SOArecords.pm
Log Message:
fixes bug [ 1497206 ] ispman.dnsset - change of SOA does not work
Index: SOArecords.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/DNSMan/SOArecords.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- SOArecords.pm 4 Aug 2004 17:31:53 -0000 1.21
+++ SOArecords.pm 29 May 2006 22:24:55 -0000 1.22
@@ -41,7 +41,6 @@
my $soa = $self->getSOA( $r->param('ispmanDomain') );
$soa->{'serial'} = $self->updateSOASerial( $soa->{'serial'} );
- $self->delTree( $self->getsOARecordDn( $r->param("ispmanDomain") ) );
$self->setDNSsOARecord(
$r->param("ispmanDomain"), $r->param('primary'),
$r->param('rootmail'), $soa->{'serial'},
@@ -56,6 +55,7 @@
my $self = shift;
my $domain = shift;
my $soa = join( " ", @_ );
+ $self->delTree( $self->getsOARecordDn( $domain ) );
$self->newDNSRecord( $domain, "sOARecord", '@', $soa );
}
-------------------------------------------------------
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