Hi all, new here…
I’ve just set up a sub-domain using dyndns …
I need to add an A record in order to point it to my vps and i can see that this is done via the API.
I’ve tried following the documentation, but have to admit I’m a bit new to all this…
At the moment i seem to be having trouble with the token authorization, here’s what I’ve tried:
- in WSL bash terminal (windows 10) - [just to see if I can list my domain]
curl -X GET https://desec.io/api/v1/domains/ --header “Authorization: Token <>”
this returns :
“detail”:“invalid token”
the trouble is, I’m not entirely sure which token I should be using!
There was a token given when I created my domain, which I failed to note down!
then… there’s the tokens under “token management”, two of which are listed as “login” and the other is “dyndns” - i’ve tried them all but get the same result
I wonder if there are any “idiot guides” here in the forum, or if anyone might like to give me some advice?