Question

"Failed to validate nameserver records: a non DigitalOcean Name Server was found for [domainname].com domain

Hi, I have my domain with Google domain. I am using the www and admin subdomains to point to my digitalocean droplet, but I have other sub domains pointing to AWS services.

When I try to generate a Letsencrypt certificate, I get this error: “Failed to validate nameserver records: a non DigitalOcean Name Server was found for [mydomain].com domain.”

Is it because of the other subdomains pointing to AWS? When creating the domain in DigitalOcean, I only specified the subdomains that are pointing to Digitalocean. Still I get this error.

Any idea how I can fix this without having to remove AWS services?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
October 12, 2023

Heya,

If you’ve made a recent DNS change this can be related to the DNS propagation time as it usually takes several hours for the DNS to update due to DNS cache and general DNS propagation time.

You can use our DNS lookup tool to ensure that the DNS records are all set correctly:

https://www.digitalocean.com/community/tools/dns

Regards

KFSys
Site Moderator
Site Moderator badge
October 6, 2023

Heya,

The error you’re encountering suggests that at least one of the nameservers for example.com isn’t set to DigitalOcean’s nameservers.

If you were to use the following DNS lookup tool, do you get the correct NameServers back:

https://www.digitalocean.com/community/tools/dns

Also, just to confirm, you’ve added your main domain name as a domain name to your DigitalOcean account and also updated your NameServers to the DigitalOcean ones correct?

  • ns1.digitalocean.com
  • ns2.digitalocean.com
  • ns3.digitalocean.com

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel