From c3f65b6cdd4e38c3cd8a3455a8e0dab028565acf Mon Sep 17 00:00:00 2001 From: Alex Leigh Date: Tue, 7 Mar 2023 10:21:20 -0800 Subject: [PATCH] Add Google Domains API --- dnsapi2.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/dnsapi2.md b/dnsapi2.md index da2f1e9..518ea29 100644 --- a/dnsapi2.md +++ b/dnsapi2.md @@ -1664,6 +1664,27 @@ To issue a wildcard certificate, run the following command: ``` Please report any bugs/issues regarding the Nanelo DNS Integration [here](https://github.com/acmesh-official/acme.sh/issues/4519). +## 157. Use Google Domains DNS API + +PENDING Pull Request: https://github.com/acmesh-official/acme.sh/pull/4542 + +Visit https://domains.google.com/registrar/ and click "Manage" on the domain. Then, in the Security settings, generate an access token for the ACME DNS API. Save this access token as it is only displayed once. + +```sh +export GOOGLEDOMAINS_ACCESS_TOKEN="generated-access-token" +``` + +To issue a cert, run the following: +```sh +./acme.sh --issue --dns dns_googledomains -d www.example.com +``` + +The script tries to infer the zone registered with Google Domains by matching the domain against the Google Domains API. To manually specify the zone, do the following prior to running the issuing command: + +```sh +export GOOGLEDOMAINS_ZONE="google-domains-zone" +``` + # ################## # Use custom API