Is there any restrict for dns-plugin?


Now I am use certbot for single domain and it’s working fine.
but I am trying wildcard certificate for multiple domain.
So I am following instruction of “” and install dns-google for dns plugin. I choose just anything(may be it’s problem)
I faced below error msg. please hlep me get to wildcard certificate.

My domain is: (external network) (internal network)

I ran this command:
sudo certbot -a dns-google -i apache -d “*” -d --server

It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-google, Installer apache
Enter email address (used for urgent renewal and security notices) (Enter ‘c’ to
Starting new HTTPS connection (1):

Please read the Terms of Service at You must
agree in order to register with the ACME server at

(A)gree/©ancel: A

Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let’s Encrypt project and the non-profit
organization that develops Certbot? We’d like to send you email about EFF and
our work to encrypt the web, protect its users and defend digital rights.

(Y)es/(N)o: Y
Starting new HTTPS connection (1):
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for
dns-01 challenge for
Cleaning up challenges
Unable to get Google Cloud Metadata and no credentials specified. Automatic credential lookup is only available on Google Cloud Platform. Please configure credentials using --dns-google-credentials


  • Your account credentials have been saved in your Certbot
    configuration directory at /etc/letsencrypt. You should make a
    secure backup of this folder now. This configuration directory will
    also contain certificates and private keys obtained by Certbot so
    making regular backups of this folder is ideal.

My web server is (include version):
apache 2.4.6
The operating system my web server runs on is (include version):
centos 7
My hosting provider, if applicable, is:
I dont know
I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):



Did you configtured Google cloud DNS API credentials? (Is your DNS hosted on Google cloud ? Not google domains?)

Please note that this DNS (google cloud DNS) is not google domains DNS (

Thank you


Did you configtured Google cloud DNS API credentials?
-> No, How can I do that? please give me more hint.
Is your DNS hosted on Google cloud ? Not google domains?
-> No, in this case What dns-plugin should I use?



In this case, you might not be able to use DNS plugin for your domain (since the Google cloud DNS is designed only for google cloud DNS users, and unfortunately google domains doesn’t provide an API)

You could choose from other competable DNS providers and point your domian at their DNS servers to resolve this…

Thank you


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.