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: 2020/10/27 |
![]() 2021年1月16日 7: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 Joined: 2025/6/30 |
![]() 2025年6月30日 11:39
Did you ever figure out how to do this? I'm stuck with the same issue. Thanks!
|
edent Joined: 2025/6/30 |
![]() 2025年6月30日 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 _____________"
|

2025年7月4日 8:05