[Résolu] Probléme avec dyndns

Bonjour,
Impossible de mettre mon domaine à jour avec yunohost dyndns update …
Configuration : Raspi 3 B+ tout à jour
Apps : wifihotspot, Vpnclient, jirafeau et shaarli
J’ai vu un post un peu similaire mais les solutions proposées ne donnent rien chez moi.
Depuis mardi j’ai une nouvelle adresse ip chez mon fai aquilenet qui est fixée. D’où la nécessité de mettre à jour le dns.
L’instance fait correctement sont travail (wifi et vpn) mais je ne peux plus y accéder de l’extérieur. Chez moi j’ai modifié le hosts pour l’interface utilisateur.

La commande de mise à jour en ssh renvoi :

sudo yunohost dyndns update
Info: Updated needed, going on...
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags:; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; ZONE SECTION:
;nohost.me.                     IN      SOA

;; UPDATE SECTION:
_xmpp-client._tcp.mondomaine.nohost.me. 0 ANY ANY
_xmpp-server._tcp.mondomaine.nohost.me. 0 ANY ANY
muc.mondomaine.nohost.me. 0       ANY     ANY
pubsub.mondomaine.nohost.me. 0    ANY     ANY
vjud.mondomaine.nohost.me. 0      ANY     ANY
mondomaine.nohost.me.     0       ANY     ANY
mondomaine.nohost.me.     0       ANY     ANY
mail._domainkey.mondomaine.nohost.me. 0 ANY ANY
_dmarc.mondomaine.nohost.me. 0    ANY     ANY
mondomaine.nohost.me.     0       ANY     ANY
*.mondomaine.nohost.me.   0       ANY     ANY
mondomaine.nohost.me.     0       ANY     ANY
*.mondomaine.nohost.me.   0       ANY     ANY
_xmpp-client._tcp.mondomaine.nohost.me. 3600 IN SRV 0 5 5222 mondomaine.nohost.me.
_xmpp-server._tcp.mondomaine.nohost.me. 3600 IN SRV 0 5 5269 mondomaine.nohost.me.
muc.mondomaine.nohost.me. 3600    IN      CNAME   mondomaine.nohost.me.
pubsub.mondomaine.nohost.me. 3600 IN      CNAME   mondomaine.nohost.me.
vjud.mondomaine.nohost.me. 3600   IN      CNAME   mondomaine.nohost.me.
mondomaine.nohost.me.     3600    IN      MX      10 mondomaine.nohost.me.
mondomaine.nohost.me.     3600    IN      TXT     "v=spf1 a mx ip4:185.233.101.95 ip6:2a0c:e300:4:95:: -all"
mail._domainkey.mondomaine.nohost.me. 3600 IN TXT "v=DKIM1; h=sha256; k=rsa; p=MIGosi6q6L5BvYcZCfFwpjWo5eiSrWD7Iu5cGvIPc2ou+Ly7uRJFOkqaYAVbFDbNnoG4ua2qIXpJbySPk355M1gOZDGfbsI9X6MQIDAQAB"
_dmarc.mondomaine.nohost.me. 3600 IN      TXT     "v=DMARC1; p=none"
mondomaine.nohost.me.     3600    IN      A       185.233.101.95
*.mondomaine.nohost.me.   3600    IN      A       185.233.101.95
mondomaine.nohost.me.     3600    IN      AAAA    2a0c:e300:4:95::
*.mondomaine.nohost.me.   3600    IN      AAAA    2a0c:e300:4:95::

; Communication with 2a03:7220:8080:5c00::1#53 failed: operation canceled
update failed: FORMERR
Info: The operation 'Update the ip associated with your YunoHost subdomain 'mondomaine.nohost.me'' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190509-161813-dyndns_update-mondomaine.nohost.me --share'
Error: Unable to update IP address on DynDNS

J’ai remplacé mon nom de domaine par “mondomaine” et tronqué la clé dkim.

La commande ls -l /etc/yunohost/dyndns/
renvoi :

 total 16
-rw------- 1 root root  125 Sep 22  2018 Kmondomaine.nohost.me.+165+30111.key
-rw------- 1 root root  232 Sep 22  2018 Kmondomaine.nohost.me.+165+30111.private
-rw-r--r-- 1 root root   20 Mar  2 17:34 old_ipv6
-rw-r--r-- 1 root root 1705 May  9 16:18 zone

Merci pour vos lumières …
Ym

Bonjour,
Je ne suis pas un spécialiste, mais pourquoi avec une IP fixe (si j’ai bien compris) utiliser dyndns ?

Bonsoir aussi,

mon YNH est sur internet via un vpn (aquilenet)
Jusqu’à présent l’ip changeait à chaque reconnexion de ma part ou reboot du serveur.
Depuis mardi j’ai une ip fixe sur le vpn
Le dns connu pour mon domaine est la dernière de mes ip variable
Il me faut bien la mise à jour pour accéder à mon instance depuis l’extérieur.
Merci pour ta remarque qui permet d’éclairer la situation.

As-tu jeté un œil ici ?
https://yunohost.org/#/dns_config_fr

@anonyme18
Oui, la commande ‘sudo yunohost domain dns-conf mondomaine’ renvoie les bonnes informations ip de mon vpn, … mais l’update ne passe toujours pas.
Je crois que c’est à ce niveau que ça coince :
Communication with 2a03:7220:8080:5c00::1#53 failed: operation canceled

Voila le log indiqué par l’erreur :

args:
  domain: null
  dyn_host: dyndns.yunohost.org
  ipv4: null
  ipv6: null
  key: null
ended_at: 2019-05-09 18:54:54.608392
error: Unable to update IP address on DynDNS
operation: dyndns_update
related_to:
- - domain
  - mondomaine.nohost.me
started_at: 2019-05-09 18:54:52.633087
success: false

============

2019-05-09 18:54:52,642: INFO - Updated needed, going on...
2019-05-09 18:54:54,341: DEBUG - system hook folder not found for action 'custom_dns_rules' in /usr/share/yunohost/hooks/
2019-05-09 18:54:54,342: DEBUG - custom hook folder not found for action 'custom_dns_rules' in /etc/yunohost/hooks.d/
2019-05-09 18:54:54,345: DEBUG - Now pushing new conf to DynDNS host...

Je ne comprend pas ce qu’il dit ne pas trouver.
Merci, à suivre …

Salut,

l’ip 2a03:7220:8080:5c00::1 qui est vraissemblablement sencée être l’addresse IPv6 de dyndns.yunohost.org.

quand tu fait un dig +short tondomaine ca fonctionne ?
et dig +short @2a03:7220:8080:5c00::1 tondomaine ?

Et après avoir fait un ping6 tondomaine sur ton srv ?

source : Error: Unable to update IP address on DynDNS

Voici les résultats :
La première commande renvoie bien l’ip actuelle (fixée) de mon vpn
La seconde renvoie :
;; connection timed out; no servers could be reached
Le ping6 renvoie :
ping: mondomaine.nohost.me: Aucune adresse associée avec le nom de l’hôte

J’ai parcouru le lien que tu donnes, mon certificat LE est bien à jour
Le reload de dnsmasq a été fait sans solutionner le problème …

Bon, je sèche. Merci

Je pense qu’on a un soucis d’ipv6 sur notre infra, probablement suite aux soucis de reboot des semaines passees (coupure de courant chez notre hebergeur)

Avec un autre utilisateur, on a resolu le probleme de maniere brutale en desactivant l’ipv6 sur son serveur avec

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

(ping @ljf si tu sais réparer l’ipv6 de la dynette…)

1 Like

Et hop !

Success! Your IP address has been updated on DynDNS

unable le réactive ?

Merci et courage pour résoudre le soucis

Ym

Pour le reactiver il faut mettre =0 au lieu de =1

Ipv6 de retour, ip du vpn fixée par dyndns sur le nom de domaine.
C’est le bonheur !
Encore merci, je passe le post en résolu.

1 Like

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