OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

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

Author Topic: os-ddclient  (Read 70879 times)

dcol

  • Hero Member
  • *****
  • Posts: 586
  • Karma: 49
    • View Profile
Re: os-ddclient
« Reply #330 on: December 21, 2022, 05:32:28 pm »
Thanks for your response.
Do you mean adding this to ddclient.conf

## DNS Made Easy ##
protocol=dnsmadeeasy,
login=<Username>
password=<password>
<record-id-1,record-id-2,..>

Right now this is all that exits in ddclient.conf
syslog=yes                  # log update msgs to syslog
pid=/var/run/ddclient.pid   # record PID in file.
Logged

CGrisamore

  • Newbie
  • *
  • Posts: 24
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #331 on: December 21, 2022, 05:38:48 pm »
Yes.  Add new lines to ddclient.conf with the dns made easy parameters outlined in the earlier message and (obviously) replace the placeholder labels with your real username password and whatever that record id parameter is.
Logged

dcol

  • Hero Member
  • *****
  • Posts: 586
  • Karma: 49
    • View Profile
Re: os-ddclient
« Reply #332 on: December 21, 2022, 06:13:25 pm »
Doesn't work. Do I need to put anything in the Dynamic DNS settings?
Logged

CGrisamore

  • Newbie
  • *
  • Posts: 24
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #333 on: December 21, 2022, 06:19:39 pm »
Did you enable it?
What do you see in the log?
Logged

dcol

  • Hero Member
  • *****
  • Posts: 586
  • Karma: 49
    • View Profile
Re: os-ddclient
« Reply #334 on: December 21, 2022, 06:48:49 pm »
Yes enabled in Dynamic DNS General. Do I need to also create an account, or are the settings in ddclient.conf sufficient.
Nothing in the Dynamic DNS log, but in the backend I get
Script action stderr returned "b"pgrep: Cannot open pidfile `/var/run/ddclient.pid': No such file or directory""
That file does exist in that directory
« Last Edit: December 21, 2022, 06:52:59 pm by dcol »
Logged

dcol

  • Hero Member
  • *****
  • Posts: 586
  • Karma: 49
    • View Profile
Re: os-ddclient
« Reply #335 on: December 21, 2022, 07:31:14 pm »
I got the legacy Dynamic DNS to work easily. But that is being depreciated. Need ddclient to work or a better plugin. I just can't get ddclient to work.
Logged

CGrisamore

  • Newbie
  • *
  • Posts: 24
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #336 on: December 21, 2022, 07:32:12 pm »
Did you create and save an entry on the Dynamic DNS settings page like screenshots below?





« Last Edit: December 21, 2022, 07:37:24 pm by CGrisamore »
Logged

dcol

  • Hero Member
  • *****
  • Posts: 586
  • Karma: 49
    • View Profile
Re: os-ddclient
« Reply #337 on: December 21, 2022, 07:56:22 pm »
I didn't use custom. I used DNS Made Easy as the service. Not sure what to use for the server using your example. I assume I do not need the ID record, just the hostname.

Would the server be https://cp.dnsmadeeasy.com/servlet/updateip?username=<username>&password=<password>&id=<Record ID>&ip=%IP%
Logged

CGrisamore

  • Newbie
  • *
  • Posts: 24
  • Karma: 1
    • View Profile
Re: os-ddclient
« Reply #338 on: December 21, 2022, 08:25:29 pm »
I use custom as my provider isn't on the drop-down list. Since yours is an available selection I'd stick with what you've got.  For server I think its just going to be dnsmadeeasy.com.  The username and password entries should go in the designated blanks. As I don't use your provider I'm not positive whether the record id is your domain name (but I suspect that it probably is) which means I'd put that value in the hostname field.


Logged

dcol

  • Hero Member
  • *****
  • Posts: 586
  • Karma: 49
    • View Profile
Re: os-ddclient
« Reply #339 on: December 21, 2022, 09:51:22 pm »
No good using Custom or DNS Made Easy for the service. Please post if anyone has DNS Made Easy working please post the settings. Went back to legacy Dynamic DNS which works fine.
Thanks
« Last Edit: December 21, 2022, 09:57:07 pm by dcol »
Logged

dcol

  • Hero Member
  • *****
  • Posts: 586
  • Karma: 49
    • View Profile
Re: os-ddclient
« Reply #340 on: December 23, 2022, 04:38:05 pm »
Seeing from lack of responses. ddclient just doesn't work with DNS Made Easy. I hope the devs come up with a better solution.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13957
  • Karma: 1210
    • View Profile
Re: os-ddclient
« Reply #341 on: January 09, 2023, 02:19:50 pm »
We will likely move forward in 23.1 with ddclient 3.10.0 inclusion despite FreeBSD ports "stalling" the effort. Also, a number of providers got added being supported now and on top of that Ad implemented custom Python handler support with dyndns2 and Azure integration.

I still think there is a misconception involving demand in the user base, capability of existing tools and effort involved in progressing this. It's a difficult topic and likely always will be.


Cheers,
Franco
Logged

dcol

  • Hero Member
  • *****
  • Posts: 586
  • Karma: 49
    • View Profile
Re: os-ddclient
« Reply #342 on: January 09, 2023, 03:38:33 pm »
I did get it to work and posted the fix in another thread.
Logged

goodsec_de

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: os-ddclient
« Reply #343 on: March 03, 2023, 12:46:26 pm »
Sorry to bother you guys, but I am using ddclient for dynDNS with no-ip (subscription).

The logs are kind of frustrating.
The settings, as far as I understand, are correct.
Nonetheless it does neither show the IP nor the last date updated...



Funny thing, I cannot start the service. It kind of crashes. I don't get it.

What's your advice?
Thanks for your help in advance and kind regards!
Logged

abulafia

  • Full Member
  • ***
  • Posts: 108
  • Karma: 4
    • View Profile
Re: os-ddclient
« Reply #344 on: March 24, 2023, 12:28:12 am »
I'm spamming this advice as it was "hidden" on github:

How to enable ddclient cloudflare API token use:

username:   token           (!!)
password:   API Token

(taken from Github - just tried it on 23.1 and it works. Goodbye Global API Key!)
Logged

  • Print
Pages: 1 ... 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