OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: mschneuwly on January 06, 2024, 02:49:04 PM

Title: ddclient with digitalocean
Post by: mschneuwly on January 06, 2024, 02:49:04 PM
Hi

I've a question regarding ddclient and digitalocean as service. According to the github page of ddclient, it should support digitalocean as a service, but it is not available in the service dropdown.

Is there a reason why it is not available? Or does somebody know how to enable it?

I moved from PfSense to opnsense and so far I found everything in opnsense except of dyndns using digitalocean. It would be glad if anybody has a solution for this issue.

Thanks for your replies!
Best regards
Mathias

PS: I'm using 23.7.11 CE
Title: Re: ddclient with digitalocean
Post by: iMx on January 06, 2024, 03:29:36 PM
Not sure it was ever added:

https://github.com/opnsense/plugins/issues/1286

I don't see that a pull request was ever created:

https://github.com/opnsense/plugins/pulls?q=is%3Apr+digital
Title: Re: ddclient with digitalocean
Post by: mschneuwly on January 06, 2024, 05:32:03 PM
If somebody is interested, I've created a pull request (https://github.com/opnsense/plugins/pull/3748). With these changes I was able to update a record in my Digitalocean zone.

You need:
- Service: Digitalocean
- Password: Digitalocean API token
- Zone: <your domain -> example.com>
- Hostnames: <FQDNs to update -> test.example.com>
- Check IP method: ipify-ipv6
- Interface to monitor: WAN
Title: Re: ddclient with digitalocean
Post by: newsense on January 07, 2024, 06:07:08 PM
The patch has been merged and can be added to OPNsense before the next release is out as follows

opnsense-patch -c plugins 9d8564c


https://github.com/opnsense/plugins/commit/9d8564c8554ea3299ea8884b8b243c675718827b (https://github.com/opnsense/plugins/commit/9d8564c8554ea3299ea8884b8b243c675718827b)