I cannot post a txt recor...
I cannot post a txt record to my dns
- 主页
- 后台控制中心
- Community Forum
- Services
- Dynamic DNS Service
- I cannot post a txt record to my dns
- Community Forum
- I cannot post a txt record to my dns
Topic: I cannot post a txt record to my dns
I am trying to use the API (I want to test it so I can make a script that does this) to add a TXT record to my domain. I am having no luck doing so. I tried following the information here https://www.dynu.com/en-US/Support/API#/dns/dnsIdRecordPostbut it didn't work. I then found this https://www.dynu.com/resources/api/documentationand noticed it was different but that didn't work either. I have tried as many variations as I can, and I keep getting{"statusCode":404,"type":"Request Exception","message":"Invalid."}Could someone please help me with this?More Info:I have tried this:{ "textData":"TestingString", "domainName":"mydomain.com", "nodeName":"testTXT", "recordType":"TXT", "ttl":120, "state":"true"}and this:{ "text_data":"TestingString", "domain_name":"mydomain.com", "node_name":"testTXT", "record_type":"TXT", "ttl":120, "state":"true"}as bodies for the API call, but still I get the same issue
Reply with quote | Report
The correct parameter format is"textData":"TestingString","domainName":"mydomain.com","nodeName":"testTXT","recordType":"TXT","ttl":120,"state":"true"You can first try with the webpage tool to post data. Once successful, you can then work on your own script. If you still have issues, open a support ticket with the detailed script you posted.
Reply with quote | Report
Author | Topic: I cannot post a txt record to my dns |
---|---|
duffyinator Joined: 2024/6/17 |
I cannot post a txt record to my dns 2024年7月2日 15:25
I am trying to use the API (I want to test it so I can make a script that does this) to add a TXT record to my domain. I am having no luck doing so. I tried following the information here https://www.dynu.com/en-US/Support/API#/dns/dnsIdRecordPostbut it didn't work. I then found this https://www.dynu.com/resources/api/documentationand noticed it was different but that didn't work either. I have tried as many variations as I can, and I keep getting{"statusCode":404,"type":"Request Exception","message":"Invalid."}Could someone please help me with this?More Info:I have tried this:{ "textData":"TestingString", "domainName":"mydomain.com", "nodeName":"testTXT", "recordType":"TXT", "ttl":120, "state":"true"}and this:{ "text_data":"TestingString", "domain_name":"mydomain.com", "node_name":"testTXT", "record_type":"TXT", "ttl":120, "state":"true"}as bodies for the API call, but still I get the same issue
|
timothytw Joined: 2002/5/2 |
I cannot post a txt record to my dns 2024年7月2日 20:34
The correct parameter format is"textData":"TestingString","domainName":"mydomain.com","nodeName":"testTXT","recordType":"TXT","ttl":120,"state":"true"You can first try with the webpage tool to post data. Once successful, you can then work on your own script. If you still have issues, open a support ticket with the detailed script you posted.
|
It is currently 2024年10月9日 2:33 US Mountain Standard Time
2024年10月9日 2:33