Hello,
I have installed a XMPP Server and need subdomains and I tried it to get it work reading all here but I am able doing it.
I need the subdomains conference. .dedyn.io
pubsub..dedyn.io
upload.******.dedyn.io
Can anybody explain what I have to do that I can use that subdomains?
I tried it that way:
The message {"detail": "Invalid token."} means that the content of your Authorization: header was invalid. It looks like you’re not passing a valid API token.
Is it possible that you are passing your account password in the header? That’s not correct. It needs to be a token, which you can generate using our web interface.
“created”:“2020-07-13T16:36:53.966589Z”,“domain”:“example…dedyn.io”,“subname”:"",“name”:".example.dedyn.io.",“records”:[“example…dedyn.io.”],“ttl”:3600,“type”:“CNAME”,“touched”:“2020-07-13T16:36:53.973319Z”}
In case adding another one with different token I got that:
You should never post any passwords or tokens in public places.
The two dots between example and dedyn are cause I only can add two links so forget one of the dots.
You can use ``` in separate lines before and after your terminal output, to denote it as a code block. Links are not highlighted in code blocks, so there should be no issue with the number of domains.
What I have done wrong and what I have to do to get upload.example. conference.example. pubsub.example. at the same time running?
The JSON payload has a field called "subname". You somehow renamed that field to "conference". There is no such field in our API, and it is simply ignored. The server falls back to the default, which is the empty subname. However, you already have created a record with an empty subname, hence the conflict.
In case you want to use HTTP verification, you’d have to create A or CNAME records for all the subdomains, pointing to your webserver (i.e. "* CNAME example.dedyn.io.").
Why do you want to update a CNAME via the DynDNS api? DynDNS API is only supported for the main name of each domain. When you update that name, the CNAME will “follow”. If you need multiple A records in the same domain, you’d have to update them via the desec API, not the DynDNS api.
An XMPP Server is working in a different way. There is the normal chat which is working with example.com then there is the function UPLOAD, PUBSUB, CONVERSATIONS which is working with with upload.example.com, pubsub.example.com and conversations.example.com. All that functions need a certificate which are created with acme.sh -d example.com -d upload.example.com -d pubsub.example.com .........
If an XMPP Server has all that informations then it will work with all functions.
How do I have to work with the desec API cause I think there is the solution?