OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

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

Author Topic: os-ddclient  (Read 78757 times)

depc80

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #360 on: May 09, 2023, 07:21:51 am »
Quote from: chemlud on May 07, 2023, 04:56:15 pm
Please note that 23.7 will kill dyndns (apparently ddclient will be the successor).
23.7 seems like a long way no? We're at 23.1.7 so I guess I can chill for now.
Logged

pmhausen

  • Hero Member
  • *****
  • Posts: 3054
  • Karma: 266
    • View Profile
Re: os-ddclient
« Reply #361 on: May 09, 2023, 08:37:08 am »
Quote from: depc80 on May 09, 2023, 07:21:51 am
23.7 seems like a long way no? We're at 23.1.7 so I guess I can chill for now.
23.1 in January 2023, 23.7 in July 2023, ... there won't be 23.[2-6].
Logged
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 14280
  • Karma: 1235
    • View Profile
Re: os-ddclient
« Reply #362 on: May 09, 2023, 09:00:15 am »
Quote from: chemlud on May 08, 2023, 04:23:59 pm
Yeah, but the experience for many users is: This functionallity has been up and running for YEARS and problems started by "solving problem" that were non-existent to most users of dynDNS.... ;-)

If only we had not bothered to keep it alive at all perhaps you'd be more favourable towards how we would end up here sooner. Personally, I don't want this thankless job of fiddling with DynDNS getting complained at either way. It has to stop.


Cheers,
Franco
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2147
  • Karma: 95
    • View Profile
Re: os-ddclient
« Reply #363 on: May 09, 2023, 04:11:20 pm »
Quote from: franco on May 09, 2023, 09:00:15 am
Quote from: chemlud on May 08, 2023, 04:23:59 pm
Yeah, but the experience for many users is: This functionallity has been up and running for YEARS and problems started by "solving problem" that were non-existent to most users of dynDNS.... ;-)

If only we had not bothered to keep it alive at all perhaps you'd be more favourable towards how we would end up here sooner. Personally, I don't want this thankless job of fiddling with DynDNS getting complained at either way. It has to stop.


Cheers,
Franco

Hi franco, I asked for an amount of money to fix this once and for ever (one of the various threads we had on this topic over the last year(s?) ), but iirc I never got an answer. For me this would  be the only professional way forward, if the dynDNS functionality is not considered an integral part of a router/firewall for those many, many users without a fixed public IP on WAN... ;-)

I'm looking for solutions, not problems.
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

whatever

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #364 on: May 10, 2023, 05:19:39 am »
Hey, just something that might be helpful for those who use a dynamic dns service that isn't supported/working properly with ddclient.

I use namecheap, which is only supported using 'ddclient' as the backend. But I have a particular setup in which my "default" gateway is a gateway group comprised of three wireguard gateways. Using 'Interface' as the IP check method and selecting WAN, ddclient always detects my wireguard IP, despite WAN being selected as the interface. It would probably work just fine with a more "vanilla" setup.

Anyway, what I ended up doing and which may be helpful to others, is using dns-o-matic. It's more of a "meta" dynamic dns service in that it can update your IP at your dynamic dns service without you having to switch your dynamic dns provider. I created an account with dns-o-matic. And using dns-o-matic (and configuring ddclient to use dns-o-matic rather than namecheap) detects the correct IP and everything works properly and my IP is updated in my namecheap dashboard. It's not the ideal solution but it works.

Maybe everyone already knows this and I just stated the obvious. But I didn't know and it helped me out.

Cheers
« Last Edit: May 10, 2023, 05:25:58 am by whatever »
Logged

depc80

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #365 on: May 10, 2023, 06:20:56 am »
Quote from: pmhausen on May 09, 2023, 08:37:08 am
Quote from: depc80 on May 09, 2023, 07:21:51 am
23.7 seems like a long way no? We're at 23.1.7 so I guess I can chill for now.
23.1 in January 2023, 23.7 in July 2023, ... there won't be 23.[2-6].
Damn.

Anyway, I got both IPv4 and IPv6 update by changing backend to OPNsense and use ip4only.me, nsupdate-info.ipv6 for Check IP method instead of interfacev4 & v6.

Btw @franco ip6only.me is a dead site, it is ip6.me i think.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 14280
  • Karma: 1235
    • View Profile
Re: os-ddclient
« Reply #366 on: May 10, 2023, 08:30:37 am »
Quote from: depc80 on May 10, 2023, 06:20:56 am
Btw @franco ip6only.me is a dead site, it is ip6.me i think.

Both seem to work from here.


Cheers,
Franco
Logged

depc80

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #367 on: May 13, 2023, 12:57:58 pm »
You're right. My bad, I didn't notice at first. ZA put it in dead site category and block it.
Logged

TarteTatin

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #368 on: May 22, 2023, 09:54:05 pm »
Hi,

I tried to move from a Cloudflare-ddns Docker container to os-ddclient, but I can't make it work at the moment.

I have several domain names to update, on the same Cloudflare account, and my Cloudflare API token includes all zones of this account.

So each of my domain names is configured as such:
- Service: Cloudflare
- Username: <empty>
- Password: <cloudflare_account_api_token>
- Wildcard: unchecked (I only want to update my domain names, because I use CNAMES for subdomains)
- Zone: <example.com>
- Hostname(s): <example.com> (exactly like Zone)
- Check ip method: Interface
- Interface to monitor: WAN_832 (device: vlan0.832, like this configuration https://docs.opnsense.org/manual/how-tos/orange_fr_fttp.html)
- Force SSL: checked

I tried at first to update all my domain names in the same Cloudflare service, like what I was doing in a cloudflare-ddns Doker container, but I get a lot of errors. So I have separated the domain names like the configuration above, one entry for each, but I see no "Current IP", nor "Updated" in the Dynamic DNS service.

In the logs, I get the same Notice every five minutes:
Code: [Select]
2023-05-22T23:21:31 Notice ddclient[33961] 94731 - [meta sequenceId="3"] FAILED: Unable to obtain information for 'vlan0.83' -- missing ip or ifconfig command
2023-05-22T23:21:31 Notice ddclient[33961] 93072 - [meta sequenceId="2"] FAILED: Unable to obtain information for 'vlan0.83' -- missing ip or ifconfig command
2023-05-22T23:21:31 Notice ddclient[33961] 92075 - [meta sequenceId="1"] FAILED: Unable to obtain information for 'vlan0.83' -- missing ip or ifconfig command

Two things:
- the device is "vlan0.832", but the logs specified "vlan0.83", like if it is truncated
- my WAN_832 as an IPv4, but no IPv6. Only an IPv6 delegated prefix which is tracked by my LAN interfaces.

In the Cloudflare interface, the API-token is refreshed all fives minutes, so there is a communication.

Thanks for your help.
« Last Edit: May 22, 2023, 09:56:27 pm by TarteTatin »
Logged

  • Print
Pages: 1 ... 23 24 [25]
« 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