Skip to content

Commit eb3e8bf

Browse files
authored
Merge pull request #24 from openprovider/premiumdns/v1.0.0
Premiumdns/v1.0.0
2 parents dabfd2c + 6d27cb0 commit eb3e8bf

4,484 files changed

Lines changed: 602501 additions & 199 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
.idea
2+
# vendor
3+
# vendor-static

README.md

Lines changed: 110 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,89 @@
1-
# NOT BEING MAINTAINED
1+
# Openprovider-WHMCS-Premium Global Anycast DNS
22

3-
**The Premium DNS Module will receive no updates until further notice**
4-
5-
# openprovider-whmcs-premiumDNS
6-
7-
Openprovider’s premium DNS leverages Sectigo’s advanced DNS infrastructure to provide a single,
3+
Openprovider’s Premium Global Anycast DNS leverages Sectigo’s advanced DNS infrastructure to provide a single,
84
integrated and easy to adopt solution which offers a 99.99% Uptime Guarantee and near real-time updates,
95
features DDoS protection and blazing fast resolution. While our standard DNS service is sufficient for
10-
users who don’t have any special needs when it comes to DNS resolution, the premium DNS service can be an excellent
11-
service to your hosting services portfolio.
6+
users who don’t have any special needs when it comes to DNS resolution, the Premium Global Anycast DNS service can be an excellent
7+
service to your hosting services portfolio. Please refer to the [FAQ article](https://support.openprovider.eu/hc/en-us/articles/4403130666386-Premium-Global-Anycast-DNS-Service) for more information on Premium Global Anycast DNS.
8+
9+
## Premium Global Anycast DNS Benefits
10+
- **Blazing Fast Resolution**: The first part of a request to your website is typically a DNS lookup. Sectigo’s Premium Global Anycast DNS ensures that your customers are always connected to the closest server, resulting in lower latency and faster access times to your web properties.
11+
- **Global Presence**: All your DNS zones are pushed to Sectigo’s DNS servers around the globe, ensuring an optimal user experience for your global customers.
12+
- **DDoS Protection**: DNS is the first step in the journey to your website. Sectigo’s Premium Global Anycast DNS keeps your DNS zone protected from DDoS DNS attacks at all times.
13+
- **99.99% Uptime Guarantee**: Sectigo’s built-in smart routing and anycast capabilities ensure that your DNS zones are always online. Your websites will always be accessible regardless of regional disruptions.
14+
- **Near Real-Time Updates**: Updates to your DNS records are carried out globally in near real-time.
15+
- **Competitive Pricing**
16+
17+
## Technical dependencies
18+
19+
The Premium Global Anycast DNS module can be used with domains from any registrar, not only domains with Openprovider.
1220

21+
## Features
1322

23+
The Openprovider Premium Global Anycast DNS WHMCS module provides a comprehensive set of features to manage Premium DNS zones directly from WHMCS:
24+
25+
- **Create Premium DNS Zone**
26+
- Automatically create a Premium Global Anycast DNS zone when registering a new domain
27+
- Enable Premium Global Anycast DNS during domain transfer
28+
- Set up Premium Global Anycast DNS for existing domains
29+
30+
- **View DNS Zone**
31+
- Retrieve and display existing Premium Global Anycast DNS zone details within WHMCS client area
32+
33+
- **Manage DNS Zone**
34+
- Navigate to and manage your Premium Global Anycast DNS zone via an integrated DNS panel
35+
36+
- **DNSSEC Management**
37+
- Activate or deactivate DNSSEC for Premium Global Anycast DNS zones
38+
- View DNSSEC records and DNSSEC status
39+
- Optionally users can **enable DNSSEC** during zone creation
40+
41+
- **Delete Premium DNS Zone**
42+
- Delete Premium DNS zones directly through the WHMCS client area
43+
44+
These features are built to ensure automation, flexibility, and security for your DNS management workflows.
1445

1546
## Installation
1647

1748
1. Copy the contents of `/modules/servers/openproviderpremiumdns` into `<WHMCS directory>/modules/servers/openproviderpremiumdns`
18-
2. Set up a product with the Openprovider-premiumDNS module (make sure to require a domain) and start selling.
19-
3. Note that there is no test environment and records created with the premium DNS module will be billed to your Openprovider account.
49+
2. Set up a server and server group for the Openprovider Premium Global Anycast DNS module in WHMCS.
50+
3. Set up a product with the Openprovider-premiumDNS module (make sure to require a domain) and start selling.
51+
4. Note that there is no test environment and records created with the Premium Global Anycast DNS module will be billed to your Openprovider account.
2052

53+
## Configure the server module
2154

55+
1. From your WHMCS admin area, navigate to **System Settings > Servers**.
2256

23-
## Premium DNS setup
57+
![img](images/configure_server_1)
2458

25-
Openprovider’s Premium DNS is the latest addition to our product portfolio, and you can offer it to your customers directly via WHMCS.
26-
We are extending our successful collaboration with Sectigo, an industry leader in SSL certificates and web security products,
27-
to introduce a Premium DNS service that will be the perfect complement to our current, free of charge, standard DNS offering.
28-
While our standard DNS service is sufficient for users who don’t have any special needs when it comes to DNS resolution,
29-
we recognize the increasing demand of our customers in this area, and we are launching this new product in order to address their needs.
59+
2. Click **Add New Server**, then select **Go to Advanced Mode**.
3060

31-
Openprovider’s Premium DNS leverages Sectigo’s advanced DNS infrastructure to provide a single,
32-
integrated and easy to adopt solution that offers the following advantages to your customers:
61+
![img](images/configure_server_2)
3362

34-
- **Blazing Fast Resolution**: The first part of a request to your website is typically a DNS lookup. Sectigo’s Premium DNS ensures that your customers are always connected to the closest server, resulting in lower latency and faster access times to your web properties.
35-
- **Global Presence**: All your DNS zones are pushed to Sectigo’s DNS servers around the globe, ensuring an optimal user experience for your global customers.
36-
- **DDoS Protection**: DNS is the first step in the journey to your website. Sectigo’s Premium DNS keeps your DNS zone protected from DDoS DNS attacks at all times.
37-
- **99.99% Uptime Guarantee**: Sectigo’s built-in smart routing and anycast capabilities ensure that your DNS zones are always online. Your websites will always be accessible regardless of regional disruptions.
38-
- **Near Real-Time Updates**: Updates to your DNS records are carried out globally in near real-time.
39-
- **Competitive Pricing**
63+
3. Add the server for API connectivity with the following details:
64+
- **Name:** For example, `openprovider premiumDNS server`
65+
- **Hostname:** `api.openprovider.eu`
66+
- **Nameservers:**
67+
```
68+
ns1.sectigoweb.com
69+
ns2.sectigoweb.com
70+
ns3.sectigoweb.com
71+
ns4.sectigoweb.com
72+
```
73+
- **Module:** Select `Openprovider PremiumDNS module`
74+
- **Username:** Your Openprovider username
75+
- **Password:** Your Openprovider password
76+
77+
![img](images/configure_server_3)
4078
79+
![img](images/configure_server_4)
4180
81+
4. Once complete, click **Save Changes**.
82+
5. After the server is created, click **Create New Group**, provide a group name, assign the server you just created to the group, and **Save Changes**.
4283
43-
## Technical dependencies
44-
45-
The Premium DNS module can be used with domains from any registrar, not only domains with Openprovider.
84+
![img](images/configure_server_5)
4685
86+
![img](images/configure_server_6)
4787
4888
4989
## Configure premium DNS product
@@ -63,19 +103,27 @@ The Premium DNS module can be used with domains from any registrar, not only dom
63103
64104
- Set up pricing on the pricing tab. Consult your Openprovider account to determine the cost price for provisioning premium DNS.
65105
66-
- Under the *module settings* tab, enter the credentials for the Openprovider account with which you’d like to provision premium DNS. Select your desired automation settings for provisioning this product.
106+
- Under the **Module Settings** tab:
67107
108+
1. Select **Openprovider PremiumDNS** as the **Module Name**.
109+
2. Select the **Server Group** that you created with the PremiumDNS server added.
110+
3. Select your desired **Automation Settings** for provisioning this product.
68111
69112
70113
![img](images/create_new_product_step3)
71114
115+
- Under the **Custom Fields** tab, add a new field with the **Field Name** set to `DNSSEC`, **Field Type** as `Checkbox`, and a **Description** of your choice - this allows clients to enable DNSSEC during order placement if desired or later with client area Premium DNS zone management. Check the **Show on Order Form** box to make this option visible to clients during the ordering process.
116+
117+
118+
![img](images/create_new_product_step4)
119+
72120
- Configure any other parameters of the product which you deem necessary and then you're ready to start offering premium DNS to your customers.
73121
74122
75123
76124
## End user workflow in WHMCS basic cart
77125
78-
The below example shows one way the provisioning module can work from the end user point of view. Various upsell options can be implemented via WHMCS to improve .
126+
The below example shows one way the provisioning module can work from the end user point of view. Various upsell options can be implemented via WHMCS to improve.
79127
80128
- End user selects from the categories sidebar “Premium DNS” (the name of your product group where premium DNS is located) and choose a premium DNS product
81129
@@ -89,6 +137,39 @@ The below example shows one way the provisioning module can work from the end us
89137
90138
![img](images/end_user_workflow_step2)
91139
140+
- During checkout, users can optionally enable DNSSEC by selecting the checkbox provided if you have configured the DNSSEC custom field to appear on the order form.
92141
142+
![img](images/end_user_workflow_step3)
93143
94144
- Once the customer completes the purchase, the module will provision the premium DNS zone in your Openprovider account.
145+
146+
## Client Area Premium DNS Product Features
147+
148+
Once a Premium DNS product is provisioned, clients can manage their service directly from the WHMCS client area. The module provides the following interactive options under the **Actions** panel:
149+
150+
![img](images/end_user_workflow_features1)
151+
152+
- **Manage PDNS**
153+
Redirects the user to dnspanel in a new browser tab, allowing them to view and manage DNS records using dnspanel's DNS management interface.
154+
155+
- **Manage DNSSEC**
156+
Opens a WHMCS-integrated screen where users can activate or deactivate DNSSEC for their Premium DNS zone. If DNSSEC is already enabled, the generated DNSSEC key will be displayed.
157+
158+
![img](images/end_user_workflow_features2)
159+
160+
- **Delete PDNS Zone**
161+
Allows clients to delete the associated Premium DNS zone directly from the client area.
162+
163+
These features empower your clients with full control over their DNS configurations without requiring administrative intervention.
164+
165+
## Troubleshooting
166+
167+
If Premium DNS ordering or management from WHMCS are not working or showing errors or if there is any connectivity issues with Openprovider or API errors, the first troubleshooting step should be to enable module logging, reproduce the issue/error and review the System Module Debug Log.
168+
169+
Navigate to **Configuration > System Logs > Module Log** (prior to WHMCS 8.0, **Utilities > Logs**)​ and you can find the raw API commands being sent and received by your WHMCS modules. The responses should contain additional information about the problem and how it can be solved.
170+
171+
![alt text](images/troubleshooting_1 "Troubleshooting")
172+
173+
For more details, please refer to WHMCS documentation: [Troubleshooting Module Problems](https://docs.whmcs.com/Troubleshooting_Module_Problems) and [System Logs](https://docs.whmcs.com/System_Logs).
174+
175+
**Important**: Only enable module logging for troubleshooting or testing purposes. At all other times, make certain that you set Module Logging to Off.

images/configure_server_1

51.6 KB
Binary file not shown.

images/configure_server_2

92.9 KB
Binary file not shown.

images/configure_server_3

278 KB
Binary file not shown.

images/configure_server_4

241 KB
Binary file not shown.

images/configure_server_5

289 KB
Binary file not shown.

images/configure_server_6

223 KB
Binary file not shown.

images/create_new_product_step3

65.6 KB
Binary file not shown.

images/create_new_product_step4

123 KB
Binary file not shown.

0 commit comments

Comments
 (0)