DNS problem: SERVFAIL looking up A for

I was following this tutorial to install a SSL certificate to my website: How To Secure Nginx with Let’s Encrypt on Ubuntu 18.04. When I ran the following command:

sudo certbot --nginx -d -d

The following error came up:

 - The following errors were reported by the server:

   Type:   connection
   Detail: dns :: DNS problem: SERVFAIL looking up A for

   Type:   connection
   Detail: dns :: DNS problem: SERVFAIL looking up A for

   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.

I have the following domain set up:

Domain Type Destination A MX CNAME

The IP address is correctly assigned and the HTTP seems to be working fine. I have configured the firewall just as said in the tutorial. Please tell me how I can resolve this issue?


Type this in your terminal and tell me the IP address that is displayed as an answer

dig +short

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.


I believe dig +short should return your IP address

At the moment is resolving from so I hope you’ve already sorted this.