Confusing to set up afraid ddns

Hi all

First post here. I have experince of networking about 12 years, coming from asuswrt.

I not get afraid ddns to work, tried to follow guide on openwrt docs but no go with that.
Someone have any explaining or guide to get afraid-ddns working.
I'm using GL.iNet GL-MT6000 router.

Best regards

Please post output of

ubus call system board
opkg list-installed | grep ^ddns-

Where do I read it from?

If you have installed the correct DDNS packages:

root@R7800-2:~# opkg list-installed | grep ^ddns-
ddns-scripts - 2.8.2-43
ddns-scripts-services - 2.8.2-43

My setup for afraid.org is like this:
/etc/config/ddns


config ddns 'global'
	option ddns_dateformat '%F %R'
	option ddns_loglines '250'
	option ddns_rundir '/var/run/ddns'
	option ddns_logdir '/var/log/ddns'

config service 'afraidorg'
	option service_name 'afraid.org-basicauth'
	option use_ipv6 '0'
	option enabled '1'
	option lookup_host '<mydomain.afraid>'
	option domain '<mydomain.afraid>'
	option username '<my-username>'
	option password '<my-password>'
	option ip_source 'network'
	option interface 'wan'
	option use_syslog '2'
	option check_unit 'minutes'
	option force_unit 'days'
	option retry_unit 'seconds'
	option ip_network 'wan'
	option check_interval '30'
	option force_interval '1'
/$ ubus call system board
{
	"kernel": "5.15.167",
	"hostname": "DEFCON",
	"system": "ARMv8 Processor rev 4",
	"model": "GL.iNet GL-MT6000",
	"board_name": "glinet,gl-mt6000",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "23.05.5",
		"revision": "r24106-10cc5fcd00",
		"target": "mediatek/filogic",
		"description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
	}
}
/$ opkg list-installed | grep ^ddns-
ddns-scripts - 2.8.2-43
ddns-scripts-services - 2.8.2-43
config service 'afraid_ipv4'
	option service_name 'afraid.org-v2-basic'
	option use_ipv6 '0'
	option enabled '0'
	option lookup_host 'mydomain.xinit.se'
	option domain 'https://freedns.afraid.org/dynamic/update.php?'
	option username '<my-username>'
	option password '<my-password>'
	option param_opt '<API-key>'
	option ip_source 'network'
	option ip_network 'wan'
	option interface 'wan'
	option use_syslog '2'
	option check_unit 'minutes'
	option force_unit 'minutes'
	option retry_unit 'seconds'

What do you have in: ```
option lookup_host '<mydomain.afraid>'

I think i get it to work now, let's see if its update my ddns - ip number.

config service 'myddns_ipv6'
	option lookup_host '<mydomain>.xinit.se'
	option use_ipv6 '1'
	option enabled '1'
	option service_name 'afraid.org-keyauth'
	option domain 'xinit.se'
	option username '<my-username>'
	option password '<my-password>'
	option ip_source 'network'
	option ip_network 'wan6'
	option interface 'wan6'
	option use_syslog '2'
	option check_unit 'minutes'
	option force_unit 'minutes'
	option retry_unit 'seconds'

config service 'myddns_ipv4'
	option service_name 'afraid.org-keyauth'
	option lookup_host '<mydomain>.xinit.se'
	option enabled '1'
	option use_ipv6 '0'
	option domain 'xinit.se'
	option username '<my-username>'
	option password '<my-password>'
	option ip_source 'web'
	option interface 'wan'
	option use_syslog '2'
	option check_unit 'minutes'
	option force_unit 'minutes'
	option retry_unit 'seconds'
	option ip_url 'http://checkip.dyndns.com'

Just in case you didn't see this:

https://openwrt.org/docs/guide-user/services/ddns/client#web_interface_instructions1

https://openwrt.org/docs/guide-user/services/ddns/client#freednsafraidorg
see Option 4

Thanks i look into that, option 4 working fine...