The WHMCS registration module for the domain registrar DomainOffensive allows you to register domains automatically.
System requirements
- WHMCS 8.8 – 8.11
- Admin access to WHMCS
- installed Ioncube Loader (at least version 13)
- Account at DomainOffensive with API access to the system launched in 2022 (not compatible with the old domain ordering system)
- PHP 7.4, 8.1 or 8.2
Installation
- Please upload the module files to your webspace.
- Log in to WHMCS and go to the list of registrar modules in the admin area and click on Activate for the registrar DomainOffensive and then on Configure.
- Now please enter your access data and make the other settings. You will find an explanation of the setting options in the next section.
Setting options
API_Username = Your user name for your API user, if you have not yet created one, please create it via Administration-User in the reseller interface.
Resellerid = Your Reseller ID. You can find this, for example, in the reseller interface by clicking on the user icon in the top right-hand corner.
API_Key = Password of your API user
Licensekey = Your licence key for this module from Plambee.de
IPv4 Address = The IPv4 address for the default records if you want to use the NS from DomainOffensive and have a default zone created (leave empty if not needed). Is also used for the IPv4 placeholder in the DNS template.
IPv6 Address = The IPv6 address for the default records if you want to use the NS from DomainOffensive and have a default zone created (leave empty if not needed). Is also used for the IPv6 placeholder in the DNS template.
Template MX IPv4 Address = Value for the mxIPv4 placeholder in the DNS template
Template MX IPv6 Address = Value for the mxIPv6 placeholder in the DNS template
MX Record = The MX Record for the default records if you want to use DomainOffensive’s NS and have a default zone created (leave blank if not needed).
Admin Contact = Activate this option if you want to overwrite the WHMCS own division of domain contacts and you as hoster always want to be deposited as Billing/TechC
Default Zone = Activate this option if you want to use the name servers of DomainOffensive and a default zone for newly registered domains should be created on them.
Default Template = If you want to use a DNS template that has already been created via the reseller interface, please enter the ID of the template to be used here.
Note: When using a default template, all placeholders used in the template must be stored in the module. For example, if you use mxIPv6 in your template, this must be stored in the option mentioned above.
Your DO.de Nameserver = If you use the nameservers of DomainOffensive, please enter them here, one nameserver per line.
Please remember to release your server IPs in the Reseller Interface under Administration Settings.
Domainchecker
If you want to run the availability check via DomainOffensive, go to Setup/Product,Services/Domain Pricing in the WHMCS admin area and click on Change in the Lookup Provider. Then select “Domain Registrar” and select DomainOffensive. Now the WHMCS Domainchecker uses the API of DomainOffensive for its availability checks.
However, please note that you may have a limited query quota.
Functions
In the admin area, you have additional buttons for the domain in addition to the WHMCS default buttons. These buttons have the following functions:
Transit (Immediately) = Immediate return of a domain to the registry, if supported by the registry
Transit (on Expiritydate) = Return of the domain to the registry on the expiry date, if supported by the registry.
Restore = Restore a deleted domain.
Start Sync = Manual start of the Domainsync for this domain
If the checkbox in WHMCS is activated that the domain should not be renewed, this setting is transferred to Domain-Offensive. The expiry date is used as the termination date. The module does not take into account the notice periods of the individual TLDs.
If the checkbox is deactivated later, the cancellation is revoked.
Update Notes
Version 3.0
As of version 3.0, the module supports the new REST-Api interface. If your account has not yet been migrated to the new DomainOffensive system, you cannot use the module yet. Talk to your provider to determine a time for the migration.
If you have previously used the domain ordering system module and also used the domain ordering system version, please upload the new module files and change the responsible registrar from domain ordering system to DomainOffensive for all affected domains. To do this, you can use the following SQL command, for example:
UPDATE 'tbldomains' SET 'registrar' = 'DomainOffensive' WHERE 'tbldomains'.'registar' = DomainBestellsystem;
A backup should be made before manual adjustments are made to the database.