-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for provider: Variomedia #1637
Comments
Hello, Can you give me the output of the following command? API_TOKEN=<your_token> \
DOMAIN=<your_domain> \
SUBDOMAIN=<your_subdomain> \
curl -s -X POST "https://api.variomedia.de/dns-records" \
-H "Authorization: token $API_TOKEN" \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.variomedia.v1+json" \
--data '{"data":{"type":"dns-record","attributes":{"record_type":"TXT","name":"'_acme-challenge${SUBDOMAIN}'","domain":"'$DOMAIN'","data":"test","ttl":300}}}' |
@SIMULATAN any news? |
Unfortunately, it turns out that it's harder to get a key than stated on the website. I contacted the support and they said that they can create a key for me which is what I'll ask for today, I will notify you once I have it and can test the call. I'm very sorry for the delay, I really didn't expect it to be harder than stated in the FAQ. |
@SIMULATAN any news? |
I'm very sorry for the delay, I had a lot of things going on for school and thus couldn't get the API key. POST /dns-records(the snippet you provided) Unauthorized (wrong token supplied)HTTP 401 - Body: Correct options!!HTTP 202 ACCEPTED!! {
"data": {
"type": "queue-job",
"id": "18181818",
"attributes": {
"status": "pending"
},
"links": {
"queue-job": "https://api.variomedia.de/queue-jobs/18181818",
"dns-record": "https://api.variomedia.de/dns-records/19191919"
}
},
"links": {
"self": "https://api.variomedia.de/dns-records"
}
} Judging by the response of the API call {
"id": "20202020",
"type": "dns-record",
"links": {
"self": "https://api.variomedia.de/dns-records/20202020"
},
"attributes": {
"record_type": "TXT",
"fqdn": "my-test-record.example.com",
"fqdn_ace": "my-test-record.example.com",
"name": "my-test-record",
"name_ace": "my-test-record",
"domain": "example.com",
"data": "test",
"ttl": 300
}
} (only the relevant part of the response) If you need any further things checked just message me, I now have the API key and I'm happy to provide other necessary information. Thank you so much for working on this and sorry again for the delay ❤️ |
It seems like So I will need to get the job status. Can you do the following commands and give the output? API_TOKEN=<your_token> \
DOMAIN=<your_domain> \
SUBDOMAIN=<your_subdomain> \
curl -s -X POST "https://api.variomedia.de/dns-records" \
-H "Authorization: token $API_TOKEN" \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.variomedia.v1+json" \
--data '{"data":{"type":"dns-record","attributes":{"record_type":"TXT","name":"'_acme-challenge${SUBDOMAIN}'","domain":"'$DOMAIN'","data":"test","ttl":300}}}' JOB_ID=<your_job_id> \
API_TOKEN=<your_token> \
curl -s -X GET "https://api.variomedia.de/queue-jobs/${JOB_ID}" \
-H "Authorization: token $API_TOKEN" \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.variomedia.v1+json" I also need the output of the delete record calls: RECORD_ID=<your_record_id> \
API_TOKEN=<your_token> \
DOMAIN=<your_domain> \
SUBDOMAIN=<your_subdomain> \
curl -s -X DELETE "https://api.variomedia.de/dns-records/${RECORD_ID}" \
-H "Authorization: token $API_TOKEN" \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.variomedia.v1+json" |
|
Welcome
How do you use lego?
Through Traefik
Link to the DNS provider
https://www.variomedia.de
Link to the API documentation
Additional Notes
The site is entirely in german, the "docs" can be found in the google translated version here and here
The shell script version is here
The text was updated successfully, but these errors were encountered: