Error with google domains: Detail: Incorrect TXT record

My domain is:
geeknoon.com

I ran this command:
sudo certbot -d $DOMAIN -d $WILDCARD --manual
–preferred-challenges dns certonly

It produced this output:
Press Enter to Continue
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. geeknoon.com (dns-01): urn:ietf:params:
acme:error:unauthorized :: The client lacks sufficient authorization ::
Incorrect TXT record “LIJR3KQGHKOTFps-H1sXPzB6MLC2pgDdN92UggJ6bNw” fou
nd at _acme-challenge.geeknoon.com

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: geeknoon.com
   Type:   unauthorized
   Detail: Incorrect TXT record
   "LIJR3KQGHKOTFps-H1sXPzB6MLC2pgDdN92UggJ6bNw" found at
   _acme-challenge.geeknoon.com

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.

My web server is (include version):
nginx version: nginx/1.14.0 (Ubuntu)

The operating system my web server runs on is (include version):
Ubuntu 18.04 LTS

My hosting provider, if applicable, is:
Lightsail

I can login to a root shell on my machine (yes or no, or I don’t know):
yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.31.0

Details:

I have this public ip for my server: 34.236.215.176

And i have this A records in google domains:
@ A 1m 34.236.215.176
and
api A 1m 34.236.215.176

and i have a txt record:
_acme-challenge TXT 1m "9OUkZJK0gOyyeWVye2C16iz5b-sL7IefbxbMtZuRx5o"

but this not works.

The error Incorrect TXT record ever show the previous value registered

1 Like

How long are you waiting, after updating the record and before continuing in Certbot?

You should be waiting at least a couple of minutes, to allow for Google’s nameservers to all receive the required updates.

2 Likes

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