[freeside] Inserting domains problem

Shane Chrisp shane at 2000cn.com.au
Tue May 22 09:51:30 PDT 2001


Glad I could help and thanks for the fastest fix in history :)

Shane

-----Original Message-----
From: ivan [mailto:ivan at 420.am]
Sent: Wednesday, 23 May 2001 12:43 AM
To: ivan-freeside at sisd.com
Subject: Re: [freeside] Inserting domains problem


Patch FS/FS/svc_domain.pm as follows, reinstall the Perl modules and
restart Apache.  Thanks for finding this bug.

Index: svc_domain.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_domain.pm,v
retrieving revision 1.10
diff -u -r1.10 svc_domain.pm
--- svc_domain.pm       2001/04/22 01:56:15     1.10
+++ svc_domain.pm       2001/05/22 16:41:40
@@ -215,7 +215,7 @@
         'svcnum'  => $self->svcnum,
         'reczone' => '@',
         'recaf'   => 'IN',
-        'rectype' => 'mx',
+        'rectype' => 'MX',
         'recdata' => $mxmachine,
       };
       my $error = $mx->insert;


On Wed, May 23, 2001 at 12:38:49AM +0800, Shane Chrisp wrote:
> Hi,
> 
> Im having trouble diagnosing what my problem is here but here is what is happening an what I have found so far.
> 
> 
> RH7.1
> Perl 5.6.0
> MySQL 3.23.33
> 
> When I try to add a domain into freeside without anything in the mxmachines file I can get the information into
> the system no problems. However if I place "10 droopy.2000cn.com.au." into this file and do the same thing I get
> this error:
> 
> Error: couldn't insert MX record for new domain: Illegal rectype (only SOA NS MX A PTR CNAME recognized): mx 
> 
> Any ideas on what further action I can take to figure out this problem?
> 
> Shane

-- 
meow
_ivan


More information about the freeside-users mailing list