Topic: 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."}
Reply with quote | Report
Did you ever figure out how to do this? I'm stuck with the same issue. Thanks!
Reply with quote | Report
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 _____________"
Reply with quote | Report
Author | Topic: Api |
---|---|
lucasdj Joined: 10/27/2020 |
![]() Saturday, January 16, 2021 7:26 AM
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 Joined: 6/30/2025 |
![]() Monday, June 30, 2025 11:39 AM
Did you ever figure out how to do this? I'm stuck with the same issue. Thanks!
|
edent Joined: 6/30/2025 |
![]() Monday, June 30, 2025 11:56 AM
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 _____________"
|

Wednesday, July 2, 2025 8:19 PM