Apache from starting. (This causes attempts to register domains to fail
instead.)
use FS::part_export::null;
use FS::svc_domain;
use FS::part_pkg;
use FS::part_export::null;
use FS::svc_domain;
use FS::part_pkg;
return if $svc_domain->action eq 'I'; # Ignoring registration, just doing DNS
return if $svc_domain->action eq 'I'; # Ignoring registration, just doing DNS
+ eval "use Net::OpenSRS;";
+ return $@ if $@;
+
# Get the TLD of the new domain
my @bits = split /\./, $svc_domain->domain;
# Get the TLD of the new domain
my @bits = split /\./, $svc_domain->domain;