# DynDNS Update Fails with KeyError: 'value'

**URL:** https://forum.yunohost.org/t/dyndns-update-fails-with-keyerror-value/38069
**Category:** Support
**Tags:** dns, dyndns, english
**Created:** [August 8, 2025, 11:19am UTC](https://forum.yunohost.org/t/dyndns-update-fails-with-keyerror-value/38069 "2025-08-08T11:19:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lordmat](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lordmat/32/11708_2.png) [@lordmat](https://forum.yunohost.org/u/lordmat)
#### Post date: [August 8, 2025, 11:19am UTC](https://forum.yunohost.org/t/dyndns-update-fails-with-keyerror-value/38069/1 "2025-08-08T11:19:57Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.1.7.1  
**How are you able to access your server** : The webadmin  
SSH  
Direct access via physical keyboard/screen

### Describe your issue

Hello everyone,

I am facing a persistent issue where my DynDNS update for my domain [xx.noho.st](http://xx.noho.st) fails with a KeyError: ‘value’. I have performed extensive troubleshooting, and the problem still persists, pointing to a deeper configuration issue.

1. Problem Description  
When I run yunohost dyndns update --force, the operation fails with the following traceback:

Bash

Traceback (most recent call last):  
…  
File “/usr/lib/python3/dist-packages/yunohost/dyndns.py”, line 499, in dyndns\_update  
if record[“value”] == “@”:  
KeyError: ‘value’  
This error also occurs when I run other DNS-related commands.

I have discovered that the root cause is a missing file: `/etc/yunohost/dyndns/dyndns_conf.json`. This file does not exist, which causes the scripts to fail.

1. Troubleshooting Steps  
I have already taken the following steps:

Confirmed my YunoHost version is 12.1.7.1.

Performed a reinstall of the core yunohost package using sudo apt install --reinstall yunohost.

Despite these fixes, the KeyError persists, and the DynDNS update cannot be completed.

1. Log File  
Here is the log from the most recent failed DynDNS update:  
[https://paste.yunohost.org/raw/dadigayuri](https://paste.yunohost.org/raw/dadigayuri)

I would appreciate any assistance in investigating this further. Thank you!

### Share relevant logs or error messages

[https://paste.yunohost.org/raw/dadigayuri](https://paste.yunohost.org/raw/dadigayuri)

---

<div class="post-metadata">

### Author: ![Tho](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tho/32/3667_2.png) [@Tho](https://forum.yunohost.org/u/Tho)
#### Post date: [August 8, 2025, 12:01pm UTC](https://forum.yunohost.org/t/dyndns-update-fails-with-keyerror-value/38069/2 "2025-08-08T12:01:37Z")

</div>

It’s a known issue in latest testing version, thanks for to info anyway 🙂

I think it’s already fixed and it will be fixed in next YunoHost update.

---

<div class="post-metadata">

### Author: ![lordmat](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lordmat/32/11708_2.png) [@lordmat](https://forum.yunohost.org/u/lordmat)
#### Post date: [August 8, 2025, 12:09pm UTC](https://forum.yunohost.org/t/dyndns-update-fails-with-keyerror-value/38069/3 "2025-08-08T12:09:06Z")

</div>

> [@Tho](#):
>
> I think it’s already fixed and it will be fixed in next YunoHost update.

Thanks a lot for the quick reply! It’s great to hear that the bug is a known issue and a fix is on the way.

I’ve got a quick question for you: Since the `dyndns update` command isn’t quite working for me yet—it thinks nothing needs to be updated even when my IP has changed—is there a way to **manually force** the IP to update in the meantime?

I just want to make sure my domain stays online until the bug fix arrives.

Cheers!

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [August 13, 2025, 12:04pm UTC](https://forum.yunohost.org/t/dyndns-update-fails-with-keyerror-value/38069/4 "2025-08-13T12:04:23Z")

</div>

The log should be fixed in 12.1.9

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [September 12, 2025, 12:04pm UTC](https://forum.yunohost.org/t/dyndns-update-fails-with-keyerror-value/38069/5 "2025-09-12T12:04:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
