Is there a documantation or a web site how to create a subdomain like
mydomain.dedyn.io
I have created an account - but if i want to create a domain, like “lkjsadiasudkjshadkjhsadkjhsad” for lkjsadiasudkjshadkjhsadkjhsad.dedyn.io
I call
echo ‘{“email”: “mymail”, “password”: “mypasswd”}’ | curl -X POST https://desec.io/api/v1/auth/login/ --header “Content-Type: application/json” --data @-
i get a token like: “token”:“YTxxxxxxxxxxxxxxxx”}
Then I call
echo ‘{“name”: “lkjsadiasudkjshadkjhsadkjhsad”}’ | curl -X POST https://desec.io/api/v1/domains/ --header “Authorization: Token YTxxxxxxxxxxxxxxxx” --header “Content-Type: application/json” --data @-
And I get for all subdomains I try:
{“name”:[“This domain name conflicts with an existing zone, or is disallowed by policy.”]}
There seem to be a trick - but I have no idea, what to change.
Probably threre is a webinterface with more error checking and a more usefull error output?