What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.0.17 (stable) How are you able to access your server: SSH Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No
Describe your issue
I have a mail server (SOGo) set up on a duckdns domain but I often get errors due to dns configuration errors or omissions. I thought the clever answer would be to use a Yunohost provided DNS address for this app thus ensuring it was all configured automatically (and correctly) rather than rely on my bumbling about. However, whenever I try to setup my shiny new domain it fails and from the log I’m struggling to spot any obvious error. Can anyone have a quick peek at the attached and provide any pointers?
Thanks.
Share relevant logs or error messages
args:
domain: domain2.tld
force: false
ended_at: 2025-06-13 12:11:47.200499
error: Could not update IP address to DynDNS
interface: api
operation: dyndns_update
parent: null
related_to:
- - domain
- domain2.tld
- - domain
- domain2.tld
started_at: 2025-06-13 12:11:46.938301
success: false
yunohost_version: 12.0.17
============
2025-06-13 13:11:46,947: INFO - Updated needed, going on...
2025-06-13 13:11:46,953: DEBUG - Reusing IPv4 from cache: xx.xx.xx.xx
2025-06-13 13:11:46,953: DEBUG - Reusing IPv6 from cache: None
2025-06-13 13:11:47,146: DEBUG - Formating result in 'export' mode
2025-06-13 13:11:47,170: DEBUG - Now pushing new conf to DynDNS host...
2025-06-13 13:11:47,171: DEBUG - id 5535
opcode UPDATE
rcode NOERROR
flags
;ZONE
ynh.fr. IN SOA
;PREREQ
;UPDATE
domain2.tld. ANY ANY
domain2.tld. ANY ANY
domain2.tld. ANY ANY
*.domain2.tld. ANY ANY
domain2.tld. ANY ANY
domain2.tld. 3600 IN A xx.xx.xx.xx
domain2.tld. 3600 IN MX 10 otd488r
domain2.tld. 3600 IN TXT "v=spf1 a mx -all"
*.domain2.tld. 3600 IN A xx.xx.xx.xx
domain2.tld. 3600 IN CAA 0 issue "letsencrypt.org"
;ADDITIONAL
2025-06-13 13:11:47,194: ERROR - id 5535
opcode UPDATE
rcode FORMERR
flags QR
;ZONE
ynh.fr. IN SOA
;PREREQ
;UPDATE
;ADDITIONAL
Ooo I wasn’t aware of the link. Is this what you mean:- https://paste.yunohost.org/raw/abetomazeh ?
I have tried to create a domain in the past but have no others in use at the moment from Yunohost. Do you mean that Yunohost may remember my previous attempt and hence count that as my one domain? How can I ‘erase’ any old domain attempts? Your advice is appreciated.
Thanks.
I tried to clear it all out and it looks like they have all gone but it still fails to create the new domain. Wierdly at the same time I appear to have a related cron job running every 10 minutes that fails and sends me an email related to Dyndns. See below.
And now I’m receiving an email from Cron every 10 mins with the same text but different random error codes example below.
ERROR id 1466
opcode UPDATE
rcode FORMERR
flags QR
;ZONE nohost.me. IN SOA
;PREREQ
;UPDATE
;ADDITIONAL
ERROR Could not update IP address to DynDNS
I have noticed an issue on the daily analysis that may be related. It complains that nsswitch.conf has been modified. I know I haven’t touched it intentionally. When I look at the differences I see the below.
nsswitch:
applied:
pending:
/etc/nsswitch.conf:
diff: @@ -5,7 +5,7 @@
shadow: files ldap
gshadow: files
-hosts: files myhostname dns
+hosts: files myhostname mdns4_minimal [NOTFOUND=return] dns
networks: files
If I try to run the force command to rest the file it fails, the log is here:- https://paste.yunohost.org/raw/fawofugori
Could the two issues be related? They seem to both relate to DNS.
cheers. I fixed that command. I used the parameter -f rather than the Yunohost suggested --force and it worked. Will try creating a new dyndns entry to see if that now works.
Sadly, no, the original issue is still present. I cleared it all down and checked that no yunohost dydns domains were present, then I tried to create a new one again. It failed. Here is the log. https://paste.yunohost.org/raw/neziwozice
I’m really struggling with this one.