# Could not resolve host: github.com for SamSaffron/pups.git

**URL:** <https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050>\
**Category:** Product Support\
**Tags:** docker\
**Created:** [13 augustus 2015 om 05:04 UTC](https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050 "2015-08-13T05:04:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![imaBASKET](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/imabasket/32/72987_2.png) [@imaBASKET](https://meta.discourse.org/u/imaBASKET)\
**Post date:** [11 augustus 2018 om 03:23 UTC](https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050/4 "2018-08-11T03:23:34Z")

</div>

Same issue, I went to add the cloudflare template and when rebuilding it could not resolve [github.com](http://github.com).

I have already tried the solution of using googles DNS servers in dockers configuration file with no success.

doing `ping github.com` works but again, it cant seem to resolve when rebuilding.

Here is the error:

 ![](https://global.discourse-cdn.com/meta/original/3X/0/f/0f4223fc55dca83a577015a1d69d0dd1edaea3d6.png)

Here is me pinging [github.com](http://github.com)  
[Imgur: The magic of the Internet](https://i.imgur.com/oUjgq8p.png)

Interestingly though, when I ping6 [github.com](http://github.com) I of course do not recieve a response because github does not have AAAA records i believe.  
[Imgur: The magic of the Internet](https://i.imgur.com/Qu9OJg9.png)

Any idea how to fix this?

---

_[View the full topic](https://meta.discourse.org/t/could-not-resolve-host-github-com-for-samsaffron-pups-git/32050)._
