DNS-Challenge: fix DESec.io -> Fix return values in add txt record function
Changed return values for error handling in txt record addition. DESec.io create txt-record but PUT was indicated as failed
Test pass OK
Welcome READ ME !!!!! Read me !!!!!! First thing: don't send PR to the master branch, please send to the dev branch instead. Please read the DNS API Dev Guide. You MUST pass the DNS-API-Test. Then reply on this message, otherwise, your code will not be reviewed or merged. Please also make sure to add/update the usage here: https://github.com/acmesh-official/acme.sh/wiki/dnsapi2 注意: 必须通过了 DNS-API-Test 才会被 review. 无论是修改, 还是新加的 dns api, 都必须确保通过这个测试.
#2180
why return 0 when there is add error ?
why return 0 when there is add error ?
When return 1 or higher than 0, acme think its not okay and delete the fresh created dns record. DESec.io has return error but the record was successfully created and is displaying on GUI.
Maybe the API doesn't retturn correct status code. But this is out over our scope here.
https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test