Question

DNS issue causing CRON jobs to fail because of timeout

We were using OpenDNS instead of GoogleDNS on our Digital Ocean Server. Looks like some outrage in the DNS in Google and OpenDNS is causing the following time out erros

NoMethodError: undefined method `fb_error_code' for #<Faraday::ConnectionFailed>

I have changed the following configuration

# /etc/resolv.conf 
nameserver 208.67.222.222 
nameserver 208.67.220.220

and

# /etc/network/interfaces
dns-nameservers 208.67.222.222 208.67.220.220

and rebooted the system. But The sidekiq which used to normally take 1-2 min is not taking over 20mins to complete and throwing a lot of errors.


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @harshamv Don’t use a single provider. Mix them. And remember to also include the IPv6 if you have activated that on your droplet. I usually use Google, Hurricane Electric and Level3, but pick the ones you trust in: https://www.lifewire.com/free-and-public-dns-servers-2626062