acme.sh
acme.sh copied to clipboard
dnsapi for google domains?
Would it be possible to add support google domains dnsapi?
Is this what you want ? https://github.com/acmesh-official/acme.sh/wiki/dnsapi#49-use-google-cloud-dns-api-to-automatically-issue-cert
That seems to be some google cloud platform related thing. I'm asking about domains managed via domains.google.com
That seems to be some google cloud platform related thing. I'm asking about domains managed via domains.google.com
This has been asked a number of times in other contexts, and the Google product naming adds to the confusion. Google Domains is a registrar with minimal DNS server functionality, and Google Cloud DNS is a full function DNS solution. Google Domains does not provide any formal published DNS management API (with the exception of a limited ddns api) although Google Domains does allow you to manage DNS records through a web browser (for some small (website-mostly?) properties that is likely sufficient). It is possible to use Google Domains as your registrar, and another full featured (API providing) DNS service (including Google Cloud DNS) as your DNS provider. Support for standalone Google Domains with the acme dnsapi would likely require someone to have to reverse engineer the existing web browser management, and as far as I know no one has done the research/work to determine how to accomplish that (although there are many that seem to have the same itch, no one seems to be scratching).
Seems Google Domains has API key generation for ACME DNS challenge, and has a link to this project: https://github.com/aaomidi/certbot-dns-google-domains as a certbot plugin. Hopefully this means that it could be added?
Also, API documentation on the Google Domains ACME DNS API: https://developers.google.com/domains/acme-dns/reference/rest
is this what you want ?
https://github.com/acmesh-official/acme.sh/pull/4546
is this what you want ?
#4546
Yes.Google domain now provides API key generation for the ACME domain name challenge.
Can confirm it works perfectly.
Just get your GOOGLEDOMAINS_ACCESS_TOKEN
from Google Domains website (Security > ACME DNS API section). Then follow the simple instructions at https://github.com/acmesh-official/acme.sh/wiki/dnsapi2#157-use-google-domains-dns-api
Fabulous!