Unable to update Dyndns after migration

Hello everybody and thanks for reading me,

My YunoHost server

Hardware: Olimex with a manual install of the image build by labriqueinter. net (https:// repo .labriqueinter.net/images/labriqueinternet_A20LIME_2017-09-06_jessie.img.tar.xz). Since I have a olimex lime 1 I installed an old image and I just did a painful upgrade to stretch and the last stable release of yunohost.

YunoHost version: 3.6.5.3

I have access to my server : Through SSH | through the webadmin on local network

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes, I do not have an internet box. I do Internet sharing with my android phone via Wifi, I’m connected to the wifi with my laptop and I share the wifi connection to the olimex(yunohost server) by ethernet with a bridge.

Description of my issue

During the posinstall phase I chose the domain name myyunohost.nohost. me (myyunohost is not the real name I chose)

Just after the postinstall, I migrated to stretch and to the last version of yunohost.

After migration, because I couldn’t access myyunohost.nohost. me I ran the command:

yunohost dyndns update --debug

I get the following output:

952  DEBUG loading actions map namespace 'yunohost'
1107 DEBUG extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
1109 DEBUG initializing base actions map parser for cli
1118 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
1758 DEBUG lock has been acquired
2260 DEBUG loading python module yunohost.dyndns took 0.500s
2263 INFO processing action [20419.1]: yunohost.dyndns.update with args={'domain': None, 'key': None, 'dyn_host': 'dyndns.yunohost.org', 'ipv4': None, 'ipv6': None}
2268 DEBUG Building zone update file ...
11450 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
11977 DEBUG https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 14
12027 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
12102 DEBUG Could not get public IPv6 : Invalid url https://ip6.yunohost.org (does this site exists?)
12105 DEBUG Old IPv4/v6 are (None, None)
12107 DEBUG Requested IPv4/v6 are (176.149.89.222, None)
12130 INFO Updated needed, going on...
12148 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
12558 DEBUG https://ip.yunohost.org:443 "GET / HTTP/1.1" 200 14
12594 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
12612 DEBUG Could not get public IPv6 : Invalid url https://ip6.yunohost.org (does this site exists?)
12630 DEBUG system hook folder not found for action 'custom_dns_rules' in /usr/share/yunohost/hooks/
12634 DEBUG custom hook folder not found for action 'custom_dns_rules' in /etc/yunohost/hooks.d/
12640 DEBUG Now pushing new conf to DynDNS host...
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;noho.st.			IN	SOA

;; UPDATE SECTION:
_xmpp-client._tcp.myyunohost.noho.st. 0 ANY ANY
_xmpp-server._tcp.myyunohost.noho.st. 0 ANY ANY
muc.myyunohost.noho.st.	0	ANY	ANY
pubsub.myyunohost.noho.st. 0	ANY	ANY
vjud.myyunohost.noho.st.	0	ANY	ANY
myyunohost.noho.st.	0	ANY	ANY
myyunohost.noho.st.	0	ANY	ANY
mail._domainkey.myyunohost.noho.st. 0 ANY	ANY
_dmarc.myyunohost.noho.st. 0	ANY	ANY
myyunohost.noho.st.	0	ANY	ANY
*.myyunohost.noho.st.	0	ANY	ANY
_xmpp-client._tcp.myyunohost.noho.st. 3600 IN SRV	0 5 5222 myyunohost.noho.st.
_xmpp-server._tcp.myyunohost.noho.st. 3600 IN SRV	0 5 5269 myyunohost.noho.st.
muc.myyunohost.noho.st.	3600	IN	CNAME	myyunohost.noho.st.
pubsub.myyunohost.noho.st. 3600	IN	CNAME	myyunohost.noho.st.
vjud.myyunohost.noho.st.	3600	IN	CNAME	myyunohost.noho.st.
myyunohost.noho.st.	3600	IN	MX	10 myyunohost.noho.st.
myyunohost.noho.st.	3600	IN	TXT	"v=spf1 a mx ip4:176.149.89.222 -all"
mail._domainkey.myyunohost.noho.st. 3600 IN TXT	"v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoiJzYpgYdZZj0BAaDJSW6ZFfi4lNBznjQKxSLGFzFkGqoiO+uEO/djN/64NIE4Uu7eTb0xCsbNl8q/Saa02nfwVbnXk0jpIKuiNWDVgkt4NfS72VOnyWNZLHdqQGF2B0qRedlqudBNIbc+FseWqC/2adSV+YBE7lMWR/DHUdJGQIDAQAB"
_dmarc.myyunohost.noho.st. 3600	IN	TXT	"v=DMARC1; p=none"
myyunohost.noho.st.	3600	IN	A	176.149.89.222
*.myyunohost.noho.st.	3600	IN	A	176.149.89.222

29-Feb-2020 20:30:25.378 dispatch 0xb49f8878: shutting down due to TCP receive error: 80.67.172.144#53: connection reset
; Communication with 80.67.172.144#53 failed: unexpected error
dns_request_createvia3: not implemented
25768 INFO The operation 'Update the ip associated with your YunoHost subdomain 'myyunohost.noho.st'' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20200229-193011-dyndns_update-myyunohost.noho.st --share'
25799 DEBUG action [20419.1] executed in 23.534s
25802 DEBUG lock has been released
25804 ERROR Unable to update IP address on DynDNS

I tried to disable ipv6:

sysctl -w net.ipv6.conf.all.disable_ipv6=1

But I still have the same error.

dig +short A myyunohost.noho.st @9.9.9.9

return nothing and

curl ip.yunohost.org

return 176.149.93.222

I don’t know if it is related to the fact that I’m using an internet access through the GSM network or because I migrated from an old version.

The migration process held with a lot of broken packages dependencies that I needed to correct by hand.

My plan is to use a vpn to connect to the Internet, so I installed vpnclient app, but I cannot configure it because the admin link is: https:/ /myyunohost. noho. st/vpnadmin

What can I do?

You can change the /etc/hosts file of your laptop to temporary associate your domain myyunohost. noho. st with the local ip of your server. Like that you will be able to configure your vpn.

You can find the local ip with

sudo arp-scan --local

I don’t know exactly why your has not been up to date. If you have a linux laptop, i think you should consider create your own image of labriqueinternet with yunocube.sh (a script which transform yunohost image into labriqueinternet image).

Or you can simply install the yunohost image instead like explain here: https://yunohost.org/#/install_on_arm_board

And next install vpnclient

Thank you for your reply!

I totally forget that I can edit /etc/hosts By doing this, I was able to manage the vpn config.

I don’t know exactly why your has not been up to date. If you have a linux laptop, i think you should consider create your own image of labriqueinternet with yunocube.sh (a script which transform yunohost image into labriqueinternet image).

For sure it would have been easier to build my image or to install yunohost directly. But I started like this and I couldn’t stop…

Now everything is working fine!

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