Couldn't resolve host when upgrading network

When i try to upgrade my network i hve this error message.

“Warning! Problem updating site. Your server may not be able to connect to sites running on it. Error message: Couldn’t resolve host ‘site'”

So i try again and again and i always have this error to a different site on my network. And the site that was displaying error is upgraded….

Any idea on this ?