How to set up dynamic DNS (DDNS) Print

  • DDNS
  • 0

The Dynamic DNS API is used when the customer wants to update an A record without having to log in to the customer area.

Use case:

Can be automated, such as when the customer's home WAN connection changes IP address and they can configure their router to remotely access the module's API to update the A record that points to the home IP address.

Example: If your WHMCS domain is abc.com, the customer would use the following URL to call the API:

https://abc.com/index.php?m=dnssuite&action=ddns&keyphrase=keyphrase&pass=pass

The customer can locate the password (keyphrase) and passphrase (pass) for each individual domain after uploading the Domain to manage in the Customer Frontend.

There are additional API options they can use.

Option Explanation
&host Define in the URL if you want to modify/add an additional A record host. If no &host is defined in the URL, the module will update the domain's main record. For example:https://painel.turbohost.co.mz/index.php?m=dnssuite&action=ddns&keyphrase=keyphrase&pass=pass&host=ftp

will create/update the A record for FTP.

&ip
Set in the URL if you want to specify which IP to update the A record to. Leave blank if you want it to capture the IP it reaches on our system.
https://painel.turbohost.co.mz/index.php?m=dnssuite&action=ddns&keyphrase=keyphrase&pass=pass&host=ftp&ip=1.2.3.4
&ipv6

Set the following if you want to modify an AAAA record. When used, you must also specify &ip= Ex:

https://painel.turbohost.co.mz/index.php?m=dnssuite&action=ddns&keyphrase=keyphrase&pass=pass&host=ftp&ip=2001:db8:a0b:12f0::1&ipv6=yes

&delete

Use this to delete a record. For example:
https://painel.turbohost.co.mz/index.php?m=dnssuite&action=ddns&keyphrase=keyphrase&pass=pass&host=ftp&delete=1


Was this answer helpful?

« Back