Skip to content

Commit

Permalink
Add Digitalocean ddns support (#3748)
Browse files Browse the repository at this point in the history
  • Loading branch information
schneuwlym committed Jan 6, 2024
1 parent ab8853c commit 9d8564c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Expand Up @@ -62,7 +62,7 @@
<id>account.zone</id>
<label>Zone</label>
<type>text</type>
<style>optional_setting service_aws service_zoneedit1 service_cloudflare service_nsupdate service_gandi service_godaddy service_nfsn service_hetzner</style>
<style>optional_setting service_aws service_zoneedit1 service_cloudflare service_nsupdate service_gandi service_godaddy service_nfsn service_hetzner service_digitalocean</style>
<help>Zone containing the host entry.</help>
</field>
<field>
Expand Down
Expand Up @@ -46,6 +46,7 @@
<changeip>Changeip</changeip>
<cloudflare>Cloudflare</cloudflare>
<cloudns>ClouDNS</cloudns>
<digitalocean>Digitalocean</digitalocean>
<dinahosting>dinahosting</dinahosting>
<dnsmadeeasy>DNS Made Easy (digicert)</dnsmadeeasy>
<dns-o-matic>DNS-O-Matic</dns-o-matic>
Expand Down
Expand Up @@ -36,7 +36,7 @@ use=cmd, cmd="/usr/local/opnsense/scripts/ddclient/checkip -t {{account.force_ss
{% if account.service == 'custom' %}
protocol={{account.protocol}}, \
server={{account.server}}, \
{% elif account.service == 'cloudflare' %}
{% elif account.service in ['cloudflare', 'digitalocean'] %}
protocol={{account.service}}, \
zone={{account.zone}}, \
{% elif account.service == 'cloudns' %}
Expand Down

0 comments on commit 9d8564c

Please sign in to comment.