Question

how fix error: DNS problem: SERVFAIL looking up A for [domain]

the same error:

IMPORTANT NOTES:

  • The following errors were reported by the server:

    Domain: juancarlosmx.xyz Type: connection Detail: DNS problem: SERVFAIL looking up A for juancarlosmx.xyz

    Domain: www.juancarlosmx.xyz Type: connection Detail: DNS problem: SERVFAIL looking up CAA for juancarlosmx.xyz

    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. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you’re using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.

///////////////////////// **In my domain record is: **

  • type: A
  • Hostname: www.juancarlosmx.xyz
  • Value: 45.55.79.187

the command is: /usr/local/letsencrypt# sudo ./letsencrypt-auto --apache -d www.juancarlosmx.xyz -d juancarlosmx.xyz

**How fix error? **

Subscribe
Share

This comment has been deleted


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

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.

In the DNS control panel, the domain is called “www.juancarlosmx.xyz”. Therefore, things like “juancarlosmx.xyz” or “abc.juancarlosmx.xyz” don’t resolve, because they’re outside “www.juancarlosmx.xyz”.

You need to rename the domain to “juancarlosmx.xyz” (and create a “www” record in it).

If DigitalOcean doesn’t support renaming domains, you should add a new one and delete the old one.

In the DNS control panel, the domain is called “www.juancarlosmx.xyz”. Therefore, things like “juancarlosmx.xyz” or “abc.juancarlosmx.xyz” don’t resolve, because they’re outside “www.juancarlosmx.xyz”.

You need to rename the domain to “juancarlosmx.xyz” (and create a “www” record in it).

If DigitalOcean doesn’t support renaming domains, you should add a new one and delete the old one.

I followed this link instructions:

https://www.hostinger.com/tutorials/dns/how-to-check-if-domain-a-record-is-pointed-correctly-using-console

(Pinged the domain name and typed the IP in Digital Ocean A record and got a 404 error, which is OK! Since I haven’t add any page to nginx server)

Try resetting DNS cache and then do it once again.

**thanks for answer **… but in my page digitalocean.com section domain, exist record Hostname as : type: A and Hostname as www.juancarlosmx.xyz, get same error with:

if run /usr/local/letsencrypt# sudo ./letsencrypt-auto --apache -d www.juancarlosmx.xyz

**is same error. **

Add an A record for juancarlosmx.xyz