Error ddclient Unable to read file /var/tmp/ddclient_opn.status
Anyone able to use OPNsense backend in 23.1.6 with DuckDNS? I've tried to use 'custom' and 'DynDns2' protocol with DuckDNS domain (as they also host a DynDns compatible endpoint). Always got this error as ddclient service always fail to start:Code: [Select]Error ddclient Unable to read file /var/tmp/ddclient_opn.statusseems to be the same issue mentioned here with no solution: https://forum.opnsense.org/index.php?topic=32355.msg160279#msg160279
Ah yes, I used the interface as the IP source. So that's why it's broken. After trying some other web based source, I found it works correctly with ipify-ipv4. Thanks!And also for anyone else who use duckdns, the Hostnames needs to have only the sub-domain part of duckdns. For example, if your domain is 'my-domain.duckdns.org' , then just put 'my-domain' in Hostnames field.
2023-04-24T09:02:39-04:00 Notice ddclient Flush dyndns status to disk 2023-04-24T09:02:39-04:00 Notice ddclient Account xxxxxxxxxxxxxxxxxxxxxxxxxx [dyndns2 - ] changed
Thanks for this. Just to confirm settings, you're using backend:opnsense, service:dyndns2, both username and password (token), hostname (sub-domain segment only as noted above), check ip method:ipify-ipv4, interface to monitor:WAN, forcessl:checked.
2023-04-24T10:58:40 Notice ddclient Account [custom - Duck DNS DynDns] changed 2023-04-24T10:58:40 Notice ddclient Account [custom - Duck DNS DynDns] set new ip xxx.xx.xx.xxx [good] 2023-04-24T10:58:38 Notice ddclient Account [custom - Duck DNS DynDns] execute
This incremental change was released today:https://github.com/opnsense/plugins/blob/94d04f74c8481ea58a09aa707bde6245c9a1ef49/dns/ddclient/pkg-descr#L9-L14We will keep doing these as requests and contributions come in. os-dyndns is scheduled for final removal in 23.7.Cheers,Franco