acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

Report bug to Yandex Cloud dns api

Open statkashaman opened this issue 2 years ago • 4 comments

This is the place to report bugs in the Yandex Cloud DNS API. (Not Yandex 360)

If you experience a bug, please report it in this issue.

Thanks!

statkashaman avatar Jul 29 '22 11:07 statkashaman

Hey!

I've tried your plugin but received following error (i replaced my actual domain with "domain.net") I assume yandex cloud dns expexts full record name like "_acme-challenge.domain.net."

response='{
 "code": 9,
 "message": "'_acme-challenge.' does not belong to zone 'domain.net.'",
 "details": [
  {
   "@type": "type.googleapis.com/google.rpc.RequestInfo",
   "requestId": "d0fa48b7-f780-4dfd-a45e-5a8c8d08b595"
  }
 ]
}'

hempalex avatar Aug 11 '22 06:08 hempalex

I've changed line (added $_domain after $_subdomain) and it updated dns zone, so this was the issue

if _yc_rest POST "zones/$_domain_id:updateRecordSets" "{"deletions": [ { "name":"$_sub_domain$_domain","type":"TXT","ttl":"120","data":$exists_txtvalue}]}"; then

hempalex avatar Aug 11 '22 06:08 hempalex