Dyndns NOTAUTH(BADKEY)

,

Hi,

I’m trying to add a new domain on my server like domain.nohost.me
I added this through the HTTP API but it doesn’t work. At the beginning I received mails every 2 minutes with:

Cron yunohost dyndns update >> /dev/null
; TSIG error with server: tsig indicates error
update failed: NOTAUTH(BADKEY)

I’ve moved /etc/cron.d/yunohost-dyndns in order not to receive the mails but, of course, it didn’t solve the problem. Do you have any solution?

Hello, Are you trying to add a domain pointing to your server, or are you making your own DNS service like “nohost.me” ?

Hello, thanks for your reply.

I’m trying to use Yunohost’s DNS service with a domain that ends with “.nohost.me”, like it’s described in the documentation.
I understood that the configuration should be automatic and I don’t know what to do now.

When I try sudo yunohost dyndns update -d mydomain.nohost.me
I have this:

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:
mydomain.nohost.me. 0 ANY A
mydomain.nohost.me. 0 ANY AAAA
mydomain.nohost.me. 0 ANY MX
mydomain.nohost.me. 0 ANY TXT
pubsub.mydomain.nohost.me. 0 ANY A
muc.mydomain.nohost.me. 0 ANY A
vjud.mydomain.nohost.me. 0 ANY A
_xmpp-client._tcp.mydomain.nohost.me. 0 ANY SRV
_xmpp-server._tcp.mydomain.nohost.me. 0 ANY SRV
mydomain.nohost.me. 1800 IN A my.address.ip
mydomain.nohost.me. 1800 IN AAAA ::
mydomain.nohost.me. 14400 IN MX 5 mydomain.nohost.me.
mydomain.nohost.me. 14400 IN TXT "v=spf1 a mx -all"
pubsub.mydomain.nohost.me. 1800 IN A my.address.ip
pubsub.mydomain.nohost.me. 1800 IN AAAA ::
muc.mydomain.nohost.me. 1800 IN A my.address.ip
muc.mydomain.nohost.me. 1800 IN AAAA ::
vjud.mydomain.nohost.me. 1800 IN A my.address.ip
vjud.mydomain.nohost.me. 1800 IN AAAA ::
_xmpp-client._tcp.mydomain.nohost.me. 14400 IN SRV 0 5 5222 mydomain.nohost.me.
_xmpp-server._tcp.mydomain.nohost.me. 14400 IN SRV 0 5 5269 mydomain.nohost.me.

; TSIG error with server: tsig indicates error
update failed: NOTAUTH(BADKEY)
Erreur : Impossible de mettre à jour l’adresse IP sur le domaine DynDNS

But I don’t understand the problem.