Argomento: Api
Im using letsencrypt service and I want to push the generated _acme-challenge TXT Record through your API. If I use Record type A works but TXT doesn't.{"statusCode":505,"type":"Validation Exception","message":"Invalid content."}
Rispondi con citazione | Segnalare
Did you ever figure out how to do this? I'm stuck with the same issue. Thanks!
Rispondi con citazione | Segnalare
This is what worked for me:curl -X POST "https://api.dynu.com/v2/dns/123456/record" \ -d "{ \"textData\": \"This is a test\", \"domainName\": \"yourname.ddnsfree.com\", \"nodeName\": \"\", \"recordType\": \"TXT\", \"ttl\": 3600, \"state\": \"true\"}" -H "Content-Type: application/json" -H "Authorization: Bearer _____________"
Rispondi con citazione | Segnalare
Autore | Argomento: Api |
---|---|
lucasdj Iscritto: 27/10/2020 |
![]() sabato 16 gennaio 2021 07:26
Im using letsencrypt service and I want to push the generated _acme-challenge TXT Record through your API. If I use Record type A works but TXT doesn't.{"statusCode":505,"type":"Validation Exception","message":"Invalid content."}
|
edent Iscritto: 30/06/2025 |
![]() lunedì 30 giugno 2025 11:39
Did you ever figure out how to do this? I'm stuck with the same issue. Thanks!
|
edent Iscritto: 30/06/2025 |
![]() lunedì 30 giugno 2025 11:56
This is what worked for me:curl -X POST "https://api.dynu.com/v2/dns/123456/record" \ -d "{ \"textData\": \"This is a test\", \"domainName\": \"yourname.ddnsfree.com\", \"nodeName\": \"\", \"recordType\": \"TXT\", \"ttl\": 3600, \"state\": \"true\"}" -H "Content-Type: application/json" -H "Authorization: Bearer _____________"
|

domenica 6 luglio 2025 14:11