title: Download failed.: Could not resolve host: downloads.wordpress.org
link: http://jj.isgeek.net/2017/06/download-failed-could-not-resolve-host-downloads-wordpress-org/
author: Jj
description: 
post_id: 1117
date: 2017/06/16 19:23:25
created_gmt: 2017/06/17 00:23:25
comment_status: open
slug: download-failed-could-not-resolve-host-downloads-wordpress-org

I just ran into this problem when trying to use the Auto Update feature of Wordpress. 

I could Ping from the server's terminal to `downloads.wordpress.org` without problems, but the Wordpress app could not. 

I resolved it by restarting the PHP service, it looks like it had stale DNS records and they've been changed at OS level by my VPS provider so a restart forced the update of them and got it to work.