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

dns_yandex multiple domains fix

Open lam015 opened this issue 7 years ago • 2 comments

Issue cert for "example.com" and "*.example.com" creates equal "_acme-challenge.example.com" records. Script dns_yandex.sh gets several "record_id" in one answer (separated with newline) and so it fails to remove DNS TXT-record which is not needed anymore. This litte fix limits several lines of "record_id" only to the first one.

Thanks to Neilpang for syntax fixing.

lam015 avatar May 30 '18 03:05 lam015

I have a website in production ("example.com" and "www.example.com" at the same time) and this fix allows to use acme.sh with dns01 challenge through dns_yandex. Please merge if it he does not interfere for ideological reasons.

lam015 avatar Jun 21 '18 17:06 lam015

please merge the latest code.

Neilpang avatar Aug 21 '18 13:08 Neilpang