Date: Tue, 19 Mar 2024 05:38:55 -0400 (EDT) Message-ID: <1524863250.2059.1710841136010@codetracker.baseservers.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2058_1325120835.1710841135897" ------=_Part_2058_1325120835.1710841135897 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The page outline general usage of = the module
With this feature, your client can create sub-domains under the main dom= ain. Features such as redirection, email forward and email catch-all is ava= ilable under a Sub-Domain.
The client and admin can easily manage a domain's DNS<= span> zone using the built-in DNS = Records Editor. The module support most popular DN= S records format. A, AAAA, CNAME, MX, TXT, SRV, N= S.
Note
The Admin can enable/disable each format individually providing a greate= r control
Special Note
The module is designed to not allow for client to remove the NS record f= or the domain root to prevent any technical support problem.
Clients can setup web (http) redirection with this function without havi= ng a hosting plan attached to their domain.
With the introduction of this new feature, you client can now create Red= irection with masking. What Masked Redirection will allow the URL to show t= he original domain URL while the content body is of another page.
In order to use this function, you must include the rem= ote connector file in your webtemplate.zip.
Similar to Web Redirect. Your client can setup Email Forwarding / Catch-= All without a hosting plan.
In order to use Forwarding and Catch-all. The following steps must be fo= llowed
Add a Email Destination= strong>
Verify the Email Destinat= ion by entering the Pi= n
Create a Alias= p>
Add the Email Destination= to the Alias= or Catch-all
If the pin variable didn't get inserted into the email template = during installation. You can use {$pin} as the variable.
If you wish to setup a generic pages for your client's domain similar to= big registar's parking pages with their registration, you would need to do= the following steps.
Prepare the list of files you want to include for t= he client's domain. For sake of simplicity and storage, it is recommended f= or you to only use one html or php file. You can load all images, css, js u= sing external sources. This way it will cut down the disk storage us per do= main
Zip the list of files up in a zip format file. Note: all files must be in the root of the zip file= strong>
Go into the Module's configuration and fill in the<= span> Web template file name of the zip file you just created in Step 2. Note this is case sensitive and you must use the full file name. Eg. w= ebtemplate.zip
Place the zip file in the root of your main DirectA= dmin account. The root is where you will find default directories, such as = domains, imap, mail, MailDir, public_html, tmp.
Warning
Do not place the zip into public_html
That's it. Now whenever you have a new domain created on the DA server. = The module will extract that webtemplate.zip into the public_html of the ne= wly created domain. When the domain's nameserver is point to the DirectAdmi= n server, the generic parking page you used will now show up.
This feature is useful if you want to do any analytics data on the domai= ns you are hosting via the DNS cluster, etc.
DNS Templates is useful when you want to apply reoccur= ring DNS settings to a domain. Such as = Gmail, Outlook, Shopify etc.
DNS Templates can be used with all D= NS records. By default, when a Template is being loaded o= nto a domain, all records for that domain will be removed. You can select t= he Preserve Current DNS settings option when loa= ding the template to tell the module to not override the current = ;DNS records
The Dynamic DNS API is use when the client wish to update a A record without having to log in= to your client area.
Use case:
It can be automated such as when a client's home WAN connection changes = IP and they can set their router to remotely hit the module's = span>API to update it's A record that point's to their ho= me IP address.
If your WHMCS domain is abc.com, then your client would use the following URL to call the API
https://abc.com/index.php?m=3Ddnssuite&action=3Dddns&= keyphrase=3Dkeyphrase&pass=3Dpass=
The client can locate the keyphrase and pass for each individual domain = after they have loaded the Domain to manage in the Client Frontend.
There are additional API options the= y can use.
Option | Explaination |
&host | Set this in the URL =
;if you want to modify/add an additional A record host. If no &h=
ost is set in the URL, then the module will update the do=
main's main record. Eg.https://abc.com/index.php?m=3Ddn= ssuite&action=3Dddns&keyphrase=3Dkeyphrase&pass=3Dpass&host= =3Dftp will create/update the FTP A record. |
&ip |
Set this in the URL if you want to spec=
ify what IP to update the A record to. Leave empty if you want it to captur=
e the IP it hits the WHMCS.
https://abc.com/index.php?m=3Ddnssuite&action=3Dddn= s&keyphrase=3Dkeyphrase&pass=3Dpass&host=3Dftp&ip=3D1.2.3.4= Tip If you use proxy server like CloudFlare, you would need to setup in the = configuration.php of WHMCS to relay the proxy's IP to $_SERVER[=E2=80=9CREM= OTE_ADDR=E2=80=9D]. Otherwise, the module will only able to get the proxy's= IP |
&ipv6 | Set this if you want to modify a AAAA record. Wh=
en this is used, you must also specify the &ip=3D Eg.https://abc.com/index.php?m=3Ddnssuite&action=3Dddns&keyphrase=3D= keyphrase&pass=3Dpass&host=3Dftp&ip=3D2001:db8:a0b:12f0::1&= ipv6=3Dyes |
&delete | Use this to delete a record. Eg.https://abc.com/index.php?m=3Ddnssuite&action=3Dddns&keyphrase= =3Dkeyphrase&pass=3Dpass&host=3Dftp&delete=3D1 |