An error occurred while validating the server dns


25-Nov-2020 16:51

Certificate requests using DNS validation might remain in Pending validation if: The CNAME record wasn’t added to the correct DNS configuration To confirm if the CNAME record has been added to correctly to your DNS configuration, run a command similar to the following: Note: Replace example-cname.with your ACM CNAME record.The dig command returns the CNAME record’s value in the output if the CNAME record has been added to the correct DNS configuration and propagated successfully.The CNAME record has been added to the correct DNS configuration, but the DNS provider automatically added the bare domain to the end of its DNS records DNS providers might automatically add the bare domain to the end of the name field of all DNS records.In this scenario, the propagated CNAME record added to your DNS configuration is similar to the following: The certificate request will remain in Pending validation until it eventually fails.

Be sure that the CNAME record added to your DNS configuration includes an NS record with the name servers provided in the output of the command.

To determine if your DNS provider automatically added the bare domain to the end of the CNAME record, run a command similar to the following: If the output returns the value of the CNAME record, then your DNS provider added the bare domain to the end of the name field of your DNS records.