OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • os-ddclient
« previous next »
  • Print
Pages: 1 ... 19 20 [21] 22 23 24

Author Topic: os-ddclient  (Read 70859 times)

bunchofreeds

  • Full Member
  • ***
  • Posts: 171
  • Karma: 10
    • View Profile
Re: os-ddclient
« Reply #300 on: July 27, 2022, 11:36:03 pm »
Thanks for keeping dyndns in play for a little longer.

I just tried to switch to os-ddclient for Cloudflare using API token unsuccessfully
Tried adding this https://github.com/opnsense/plugins/issues/2842

Still couldn't get it to work.
Also the GUI config is pretty hard (impossible) to work out what you should put where.

Looking forward to os-ddclient catching up.
Logged

XeroX

  • Full Member
  • ***
  • Posts: 105
  • Karma: 5
    • View Profile
Re: os-ddclient
« Reply #301 on: August 01, 2022, 09:41:11 pm »
Quote from: chtse53 on July 25, 2022, 02:43:38 am
Quote from: athurdent on July 24, 2022, 01:01:17 pm
Late to the party, sorry.

Could not find a way to properly set the IONOS API update URL. It just needs to call that custom URL, nothing else. ( https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/ )

Also, even if it worked, no way to update it to a GW group anymore?
I am also using IONOS API.  Since it is as simple as calling a custom URL, I just created a custom cron job to do it. Need not bother about the os-ddclient.

Using All-Inkl, however IONOS is straight forward with os-ddclient. Set to custom, set to DynDns2, post URL as mentioned for FritzBox, leave everything empty. Done.

https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/

Logged

Ragai

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #302 on: August 02, 2022, 05:56:27 am »
Quote from: katamadone [CH] on July 26, 2022, 07:59:33 am
Quote from: Ragai on July 25, 2022, 12:02:57 am
Quote from: katamadone [CH] on July 22, 2022, 07:23:58 am
Maybe it would be helpful, if there's a good place to create a wiki.
Because in the old client most accepted services were documentend where to enter what..
I've got Namecheap and Freedns (afraid.org) and the only thing I've struggled was to search where I should enter which things. Which is clearly not clear.
@franco
@AdSchellevis

I, too, am using FreeDNS (afraid.org). I tried a few settings without any luck. I, even, tried looking at the ddclient code for any clues. Still no luck.

Did you get FreeDNS working?

depends maybee also on the freeDNS Setting (did not get it work with token):
check your Settings under https://freedns.afraid.org/dynamic/v2/
The settings which are working:
Service: FreeDNS
Username: your FreeDNS User
Password: your Password
Hostname: Full subdomain name
Check IP: Interface
Force SSL: enabled
Interface to monitor: WAN

Thanks. I tried it and it worked.
However, I noticed in the log that it pulled all 50 hosts in my account before updating the current host (the OPNsense one).
Not sure if getting the plugin to update based on the host name & the token is a huge job or not but I'll take a look at the plugin code

On the other hand, thanks to Franco & the OPNsense team for keeping the legacy plugin available for now till the ddclient matures.
« Last Edit: August 02, 2022, 06:04:18 am by Ragai »
Logged

opnsenseuser

  • Sr. Member
  • ****
  • Posts: 384
  • Karma: 25
    • View Profile
Re: os-ddclient
« Reply #303 on: August 07, 2022, 10:53:04 am »
Quote from: XeroX on August 01, 2022, 09:41:11 pm
Quote from: chtse53 on July 25, 2022, 02:43:38 am
Quote from: athurdent on July 24, 2022, 01:01:17 pm
Late to the party, sorry.

Could not find a way to properly set the IONOS API update URL. It just needs to call that custom URL, nothing else. ( https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/ )

Also, even if it worked, no way to update it to a GW group anymore?
I am also using IONOS API.  Since it is as simple as calling a custom URL, I just created a custom cron job to do it. Need not bother about the os-ddclient.

Using All-Inkl, however IONOS is straight forward with os-ddclient. Set to custom, set to DynDns2, post URL as mentioned for FritzBox, leave everything empty. Done.

https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/

use the Global API Key >> this works
Logged
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

opnsenseuser

  • Sr. Member
  • ****
  • Posts: 384
  • Karma: 25
    • View Profile
Re: os-ddclient
« Reply #304 on: August 07, 2022, 10:54:19 am »
Quote from: bunchofreeds on July 27, 2022, 11:36:03 pm
Thanks for keeping dyndns in play for a little longer.

I just tried to switch to os-ddclient for Cloudflare using API token unsuccessfully
Tried adding this https://github.com/opnsense/plugins/issues/2842

Still couldn't get it to work.
Also the GUI config is pretty hard (impossible) to work out what you should put where.

Looking forward to os-ddclient catching up.

use the Global api key >> this works

these are the setting you have to make:

##
## CloudFlare (www.cloudflare.com)
##
#protocol=cloudflare,        \
#zone=domain.tld,            \
#ttl=1,                      \
#login=your-login-email,     \ # Only needed if you are using your global API key.
#password=APIKey             \ # This is either your global API key, or an API token. If you are using an API token, it must have the permissions "Zone - DNS - Edit" and "Zone - Zone - Read". The Zone resources must be "Include - All zones".
#domain.tld,my.domain.tld
« Last Edit: August 07, 2022, 10:56:33 am by opnsenseuser »
Logged
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

guest34320

  • Guest
Re: os-ddclient
« Reply #305 on: August 14, 2022, 03:01:27 pm »
Quote from: opnsenseuser on August 07, 2022, 10:53:04 am
Quote from: XeroX on August 01, 2022, 09:41:11 pm
Quote from: chtse53 on July 25, 2022, 02:43:38 am
Quote from: athurdent on July 24, 2022, 01:01:17 pm
Late to the party, sorry.

Could not find a way to properly set the IONOS API update URL. It just needs to call that custom URL, nothing else. ( https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/ )

Also, even if it worked, no way to update it to a GW group anymore?

I am also using IONOS API.  Since it is as simple as calling a custom URL, I just created a custom cron job to do it. Need not bother about the os-ddclient.

Using All-Inkl, however IONOS is straight forward with os-ddclient. Set to custom, set to DynDns2, post URL as mentioned for FritzBox, leave everything empty. Done.

https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/

use the Global API Key >> this works

Hello together,
i tried to setup DynDNS like mentioned before, but i'm stuck.
Every time i try to set the DynDNS Update URL, os-ddclient tells me that it isn't a valid input.

My Settings:
Service: Custom
Protocol: DynDny2
Server: empty
Username: empty
Password: empty
Hostnames: DynDNS updateURL
Check ip method: dyndns
Force SSL: enabled
Interface: WAN
Logged

sja1440

  • Newbie
  • *
  • Posts: 24
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #306 on: August 25, 2022, 03:22:26 pm »
I am using a fully updated (on 2022-08-25) OPNSense version 22.7.2 commit  412c0b79c.

I use clouddns and I do not see how I can configure os-ddclient for this.

With the old client I use a Service type of Custom and provide an update URL similar to https://ipv4.cloudns.net/api/dynamicURL/?q=MYAPIKEY

I see that an issue regarding this has been opened at https://github.com/opnsense/plugins/issues/2880

Does anyone know of a workaround?  Or must I wait until issue 2880 is resolved?

UPDATE: 2022-09-02 Alas I see that issue 2880 has been automatically closed by the bot.  Does this mean that CloudDNS will never be supported by the OPNSense port of ddclient?
« Last Edit: September 02, 2022, 02:02:38 pm by sja1440 »
Logged

skyeci2018

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #307 on: August 27, 2022, 08:42:22 am »
Hoping someone can help? - I have my ddclient working just fine apart from I have changed the interval for updates but ddclient is still updating every 5 minutes. I set it to 3600 as 1 hr check is fine for me but the logs show even after a reboot this setting is being ignored..I am using daemon=3600

Can anyone offer some advice please?

thanks
Logged

peters

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #308 on: September 05, 2022, 05:14:55 pm »
using freedns... ddclient doesn't work
ddclient[60951] 62535 - [meta sequenceId="21"] FAILED:   Could not get freedns update URLs from freedns.afraid.org

This message is not very helpful.

Please make sure to upgrade to os-ddclient before 22.7 is released as this plugin will be removed from our repository

dyndns legacy works...
« Last Edit: September 05, 2022, 05:26:56 pm by peters »
Logged

Ragai

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #309 on: September 06, 2022, 02:22:18 am »
Using FreeDNS account credentials and server FQDN works
Using the host FQDN & token as the old plugin used to, will not work.
Logged

OmnomBánhmì

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #310 on: September 14, 2022, 10:38:07 am »
I'm in the no-ip.com boat, and am using groups. This piece of information https://www.noip.com/support/knowledgebase/limit-hostnames-updated-dynamic-dns-client/ is what helped me:

Quote
Some clients don’t like a colon( : ) character as a separator, you can use the url encoded colon character %3A, %23, or # if you run into this issue.

As noted above, the OPNsense UI does not do a good job, substituting %3A was rejected there. Also, I was getting badauth from debugging on the commandline before the change.

So the login parameter in /usr/local/etc/ddclient.conf needs this. Note the login line has %3A instead of a colon between groupname and username. Also, I don't explicitly specify an interface since my OPNsense is an exposed host behind another router.


Code: [Select]
syslog=yes                  # log update msgs to syslog
pid=/var/run/ddclient.pid   # record PID in file.
ssl=yes

# the Inet interface is implicit
use=cmd, cmd="/usr/local/opnsense/scripts/ddclient/checkip -t 0 -s noip-ipv4",
protocol=noip, \
login=group%3Anom@example.com, \
password=NunAYurBusiness \
example.ddns.net
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: os-ddclient
« Reply #311 on: October 03, 2022, 12:45:09 pm »
I know, the old dynDNS plugin still alive, but I want to give the new ddclient a try:

In "custom" there is absolutely no way to add a single update URL-Username-PW-Domain provided by the DynDNS service of my choice?

Can anybody help out on this?

Is it possible to install both old and new plugin at the same time and use both?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

webermax

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #312 on: October 12, 2022, 09:22:58 pm »
It is hard to understand why the simplest implementation (plain http get) does not work for so long now, while the legacy plugin has always worked?  >:(
Logged

Tuxtom007

  • Sr. Member
  • ****
  • Posts: 302
  • Karma: 10
    • View Profile
Re: os-ddclient
« Reply #313 on: October 29, 2022, 08:49:53 am »
Is there anything new on the subject of "UpdateURL"?
My new DynDNS provider only allows the use of update URL with user/key, no login with user + password.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2113
  • Karma: 94
    • View Profile
Re: os-ddclient
« Reply #314 on: October 29, 2022, 06:10:26 pm »
Try the old plugin. If it is removed by devs we are all f*cked...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

  • Print
Pages: 1 ... 19 20 [21] 22 23 24
« previous next »
  • OPNsense Forum »
  • Archive »
  • 22.1 Legacy Series »
  • os-ddclient
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2