Fix cURL error 28: Resolving timed out after 10003 milliseconds on local

Ref: https://www.digitalocean.com/community/questions/how-do-i-switch-my-dns-resolvers-away-from-google

NOTE: This is for Mac users. Linux I am not sure, but can try.

This is the temporary fix. You have to do every time when you restart your computer.

Open the following file:

/etc/resolv.conf

Which should look something like this:

nameserver 8.8.8.8
nameserver 8.8.4.4

Change those lines with following:

nameserver 208.67.222.222 
nameserver 208.67.220.220

That’s it !!!!!

Related Articles

Fix 404 error on nginx

Sometimes you get unexpected 404 error from Nginx server. And I am going to tell you how I fixed the issue. You can fix that…

Edit old commit message on github

Sometimes we make mistake in git commit message, especially spelling mistake. Even though I think twice before pressing the enter key after I write the…

Install wp-cli on windows

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

So I am going to tell you short, simple and easy way that how to use wp-cli on windows system.

First WordCamp

I am going to tell you about my first WordCamp which was held in Pune on 15th Jan 2017. And yes I was very happy…

Add custom filter for searching post or users in WordPress backend

For this, two parts are important. Part 1: Adding select dropdown Below is the action by which we can add a new search filter for…

Responses

Leave a Reply