OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: dcol on March 06, 2023, 05:59:15 PM

Title: Dynamic DNS working - sort of
Post by: dcol on March 06, 2023, 05:59:15 PM
I just install a new OPNsense and updated to 23.1.1_2
After setting the interface and testing the intenet, everything seems to be working.
Next step was to add my Dynamic DNS so I install the dd-client plugin and added my Cloudflare info.
It appears to update the DNS in Clouflare ok, which is good, but the current IP and Updated fields do not populate and there are no logs generated for the update event.

I have tried using both ddclient and OPNsense for the backend. Not really sure what this means.

Am I missing something , or this a bug?
Title: Re: Dynamic DNS working - sort of
Post by: CJ on March 06, 2023, 06:20:53 PM
ddclient is currently not working correctly for a lot of providers.  It's updating the IP, but not correctly parsing the success messages.
Title: Re: Dynamic DNS working - sort of
Post by: dcol on March 06, 2023, 06:29:55 PM
But isn't the legacy plugin being depreciated?
It actually is updating the DNS, it's just you wouldn't know it looking at OPNsense.
The other issue I have with ddclient is it doesn't set the Proxy flag in Cloudflare. This could be a deal breaker in moving from PFsense, which properly supports Cloudflare Dynamic DNS.
Title: Re: Dynamic DNS working - sort of
Post by: CJ on March 07, 2023, 12:57:01 PM
I'm not sure what you're asking in regards to the legacy plugin.  I never mentioned it.

No idea about a proxy flag.  I don't use Cloudflare.
Title: Re: Dynamic DNS working - sort of
Post by: dcol on March 07, 2023, 07:08:50 PM
I mention the Legacy becase many say it is better than dd-client, but I don't want to use it because from what I read, it is going away eventually.

So then I guess it is a bug not correctly parsing the success messages or generating any logs. But it does work as expected in updating the DNS. I just updated to 23.1.2 which has an updated dd-client and strongswan, but the bugs remain.
Title: Re: Dynamic DNS working - sort of
Post by: guest34985 on March 07, 2023, 07:49:25 PM
Quote from: dcol on March 07, 2023, 07:08:50 PM
I just updated to 23.1.2 which has an updated dd-client and strongswan, but the bugs remain.
Same here, ddclient still has no entries for the "Current IP" or the "Updated" column. Also I still find this error message in the log:

ddclient[82651] 88973 - [meta sequenceId="1"] WARNING: file /usr/local/etc/ddclient.conf, line 4: Invalid Value for keyword 'ipv6' = 'yes'

Are you sure there was an updated ddclient version included in 23.1.2? I could not find it in the changelog ...
Title: Re: Dynamic DNS working - sort of
Post by: CJ on March 09, 2023, 12:41:47 PM
There's been no ddclient update.  OPNSense is running the latest version.
Title: Re: Dynamic DNS working - sort of
Post by: Christophe999s on March 10, 2023, 05:03:01 PM
I've opened an issue on github for this: https://github.com/opnsense/core/issues/6407
Title: Re: Dynamic DNS working - sort of
Post by: CJ on March 10, 2023, 06:30:09 PM
They can't fix it until ddclient cuts a release with the fix in it.