Nohost domain recovery - Suppression de domaine en nohost.me, noho.st et ynh.fr

Happy new year everyone :slight_smile:
please remove this :slight_smile:
igloo.nohost.me
&
oursblanc.nohost.me
Regards

Done. :wink:

Happy New Year 2019 !

Hi everyone ! I’m new here ! Happy new year !

I would like to remove my two domains :

pp44.nohost.me
chezpp44.nohost.me

Thanks a lot ! :slight_smile:

done !

1 Like

If I want to use a new nohost.me domain on the server that used “chezpp44.nohost.me”, I have to reinstall it from scratch or is there an other way ? (I ask this question because of the autorisation of a single nohost.me domain on eahc server.)

normally, you can remove your domain and then add it. You can do if it is not removed yet too :

yunohost dyndns subscribe -d thedomainyouwant.noho.st
yunohost dyndns update

The first command :

admin@test:~ $ sudo yunohost dyndns subscribe -d pp44.nohost.me
Success! The DynDNS domain has been registered
Success! The DynDNS cron job has been installed

But the second :

admin@test:~ $ sudo yunohost dyndns update
Info: Updated needed, going on…
Error: No domain has been registered with DynDNS

ok… étrange. Sachant que pp44.nohost.me, a bien été enregistré chez nous.
ping @Aleks

Did you really ran this command after the subscribe ? o.O

Maybe adding --debug can help to investigate …

Ok. J’y connais vraiment rien donc je vais essayer de faire de mon mieux. Mais oui oui je suis bien sûr de l’ordre des commandes. J’ai même essayer plusieurs fois l’update pour voir si l’enregistrement pouvait prendre du temps… Bizarre !

admin@test:~ $ sudo yunohost dyndns update --debug
496 DEBUG loading actions map namespace ‘yunohost’
577 DEBUG extra parameter classes loaded: [‘ask’, ‘password’, ‘required’, ‘pattern’]
578 DEBUG initializing base actions map parser for cli
583 DEBUG registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
875 DEBUG lock has been acquired
1076 DEBUG loading python module yunohost.dyndns took 0.200s
1076 INFO processing action [2426.1]: yunohost.dyndns.update with args={‘domain’: None, ‘key’: None, ‘dyn_host’: ‘dyndns.yunohost.org’, ‘ipv4’: None, ‘ipv6’: None}
3157 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
3381 DEBUG https://ip.yunohost.org:443 “GET / HTTP/1.1” 200 15
3397 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
3421 DEBUG Could not get public IPv6 : [Errno 52] Invalid url https://ip6.yunohost.org (does this site exists ?)
3422 DEBUG Old IPv4/v6 are (None, None)
3423 DEBUG Requested IPv4/v6 are (176.141.240.241, None)
3423 INFO Updated needed, going on…
3425 DEBUG Checking if domain chezpp44.nohost.me is available on dyndns.yunohost.org
3431 DEBUG Starting new HTTPS connection (1): dyndns.yunohost.org
3666 DEBUG https://dyndns.yunohost.org:443 “GET /test/chezpp44.nohost.me HTTP/1.1” 200 40
3676 DEBUG action [2426.1] executed in 2.599s
3677 DEBUG lock has been released
3678 ERROR No domain has been registered with DynDNS

Well the error message was misleading, but the bottom line is that you server still acts as if your domain nohost.me domain is chezpp44.nohost.me. So I think you should :

rm -rf /etc/yunohost/dyndns
rm /etc/cron.d/yunohost-dyndns

then re-run the subscribe and update commands.

Ok, not sure I understand what the “chezpp44.nohost.me” is still doing here since I deleted it before this whole thing…

admin@test:~ $ sudo yunohost dyndns subscribe -d pp44.nohost.me
Error: Domain pp44.nohost.me is not available.
admin@test:~ $ sudo yunohost dyndns update --debug
496 DEBUG loading actions map namespace ‘yunohost’
578 DEBUG extra parameter classes loaded: [‘ask’, ‘password’, ‘required’, ‘pattern’]
579 DEBUG initializing base actions map parser for cli
583 DEBUG registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
874 DEBUG lock has been acquired
1075 DEBUG loading python module yunohost.dyndns took 0.200s
1076 INFO processing action [2594.1]: yunohost.dyndns.update with args={‘domain’: None, ‘key’: None, ‘dyn_host’: ‘dyndns.yunohost.org’, ‘ipv4’: None, ‘ipv6’: None}
3167 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
3394 DEBUG https://ip.yunohost.org:443 “GET / HTTP/1.1” 200 15
3409 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
3434 DEBUG Could not get public IPv6 : [Errno 52] Invalid url https://ip6.yunohost.org (does this site exists ?)
3435 DEBUG Old IPv4/v6 are (None, None)
3435 DEBUG Requested IPv4/v6 are (176.141.240.241, None)
3436 INFO Updated needed, going on…
3437 DEBUG action [2594.1] executed in 2.360s
3437 DEBUG lock has been released
3438 ERROR No domain has been registered with DynDNS

That’s because deleting a domain in yunohost doesnt delete the old dyndns stuff (which is part of various “bugs” related to the whole dyndns thing which still havent been fixed because there are so many things to do :/)

1 Like

Not complaining ! I just try to understand. I know nothing about anything here and I am quite impressed and admirative when I see this project ! Thanks a lot for your help, and sorry if it sounded like a complain !

1 Like

So it still doesnt work, maybe delete pp44.nohost.me againt so I can register again from the start ?

Done !

Don’t worry, I didn’t took it as a complain, this was much more me being desperate about all the things to do in the project :stuck_out_tongue_winking_eye: Thanks for the encouragements !

Almost there : :slight_smile:

admin@test:~ $ sudo yunohost dyndns subscribe -d pp44.nohost.me
Kpp44.nohost.me.+165+54442
Success! The DynDNS domain has been registered
Success! The DynDNS cron job has been installed
admin@test:~ $ sudo yunohost dyndns update --debug
516 DEBUG loading actions map namespace ‘yunohost’
599 DEBUG extra parameter classes loaded: [‘ask’, ‘password’, ‘required’, ‘pattern’]
600 DEBUG initializing base actions map parser for cli
605 DEBUG registering new callback action ‘yunohost.utils.packages.ynh_packages_version’ to [’-v’, ‘–version’]
900 DEBUG lock has been acquired
1103 DEBUG loading python module yunohost.dyndns took 0.202s
1103 INFO processing action [2941.1]: yunohost.dyndns.update with args={‘domain’: None, ‘key’: None, ‘dyn_host’: ‘dyndns.yunohost.org’, ‘ipv4’: None, ‘ipv6’: None}
3209 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
3521 DEBUG https://ip.yunohost.org:443 “GET / HTTP/1.1” 200 15
3537 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
3575 DEBUG Could not get public IPv6 : [Errno 52] Invalid url https://ip6.yunohost.org (does this site exists ?)
3576 DEBUG Old IPv4/v6 are (None, None)
3577 DEBUG Requested IPv4/v6 are (176.141.240.241, None)
3577 INFO Updated needed, going on…
3579 DEBUG Checking if domain pp44.nohost.me is available on dyndns.yunohost.org
3585 DEBUG Starting new HTTPS connection (1): dyndns.yunohost.org
3909 DEBUG https://dyndns.yunohost.org:443 “GET /test/pp44.nohost.me HTTP/1.1” 409 51
3919 DEBUG Building zone update file …
3925 DEBUG Starting new HTTPS connection (1): ip.yunohost.org
4212 DEBUG https://ip.yunohost.org:443 “GET / HTTP/1.1” 200 15
4239 DEBUG Starting new HTTPS connection (1): ip6.yunohost.org
4245 DEBUG Could not get public IPv6 : [Errno 52] Invalid url https://ip6.yunohost.org (does this site exists ?)
4250 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:
;nohost.me. IN SOA

;; UPDATE SECTION:
_xmpp-client._tcp.pp44.nohost.me. 0 ANY ANY
_xmpp-server._tcp.pp44.nohost.me. 0 ANY ANY
muc.pp44.nohost.me. 0 ANY ANY
pubsub.pp44.nohost.me. 0 ANY ANY
vjud.pp44.nohost.me. 0 ANY ANY
pp44.nohost.me. 0 ANY ANY
pp44.nohost.me. 0 ANY ANY
pp44.nohost.me. 0 ANY ANY
*.pp44.nohost.me. 0 ANY ANY
_xmpp-client._tcp.pp44.nohost.me. 3600 IN SRV 0 5 5222 pp44.nohost.me.
_xmpp-server._tcp.pp44.nohost.me. 3600 IN SRV 0 5 5269 pp44.nohost.me.
muc.pp44.nohost.me. 3600 IN CNAME pp44.nohost.me.
pubsub.pp44.nohost.me. 3600 IN CNAME pp44.nohost.me.
vjud.pp44.nohost.me. 3600 IN CNAME pp44.nohost.me.
pp44.nohost.me. 3600 IN MX 10 pp44.nohost.me.
pp44.nohost.me. 3600 IN TXT “v=spf1 a mx ip4:176.141.240.241 -all”
pp44.nohost.me. 3600 IN A 176.141.240.241
*.pp44.nohost.me. 3600 IN A 176.141.240.241

; TSIG error with server: tsig indicates error
update failed: NOTAUTH(BADKEY)
4449 DEBUG action [2941.1] executed in 3.345s
4450 DEBUG lock has been released
4453 ERROR Unable to update IP address on DynDNS

Wait ~2 minutes and redo the update, it should be okay then

Ok !
Great ! I’m not so confident, because the when I first installed this server with “chezpp44.nohost.me”, the domain name did’nt work either. If it is still the case here, and since I’m supposed to have a static adress, is there any way to privately give someone in the YUNOHOST my ip so it can be manually added ? (I know i’m curious and ask many question…)