# "Could not resolve host: github.com" randomly on xcode builds for the last week+

**URL:** <https://travis-ci.community/t/could-not-resolve-host-github-com-randomly-on-xcode-builds-for-the-last-week/5735>\
**Category:** macOS\
**Created:** [October 30, 2019, 12:19pm UTC](https://travis-ci.community/t/could-not-resolve-host-github-com-randomly-on-xcode-builds-for-the-last-week/5735 "2019-10-30T12:19:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [October 30, 2019, 12:56pm UTC](https://travis-ci.community/t/could-not-resolve-host-github-com-randomly-on-xcode-builds-for-the-last-week/5735/2 "2019-10-30T12:56:43Z")

</div>

The same happened in the past. I wonder if there’s no DNS cache on the build machines for some reason that’s beyond me.

> [@Intermittent "Could not resolve host" for a well-known host](https://travis-ci.community/t/intermittent-could-not-resolve-host-for-a-well-known-host/2773):
>
> [Getting build failures due to subj](https://travis-ci.org/native-api/opencv-python/jobs/510386524#L3862) (the build was restarted since, link obsolete) occasionally, roughly once every 40-50 jobs (by perception). What puzzles me is that the host that has failed to resolve is homebrew.bintray.com, the same that was used in lots of previous downloads in the same job, so it must be in the local DNS cache. Isn’t it installed in MacOS builders or something, or has a duration shorter than the job time limit?

---

_[View the full topic](https://travis-ci.community/t/could-not-resolve-host-github-com-randomly-on-xcode-builds-for-the-last-week/5735)._
