Could not resolve host Git Origin: Build & delivery Last updated 13 Oct 2026

fatal: unable to access 'https://github.com/…': Could not resolve host: github.com

DNS lookup for the Git host failed from this machine.

Exact message you may see Could not resolve host: github.comCould not resolve host
Seen on: Git

Meaning

No internet, broken DNS, VPN/proxy settings or a typo. Proxy environments need http.proxy configured.

Common causes

  • Offline / DNS issue
  • Proxy required but not configured
  • Typo in the URL

⚡ Quick fix

  1. Check DNS: nslookup github.com
  2. Configure proxy: git config --global http.proxy http://proxy:8080
  3. Fix the URL

Detailed fix by platform

Git

  1. git config --global http.proxy http://proxy.corp:8080

How to diagnose

  1. DNS — Resolves?
  2. Proxy — Required?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):

0x80072EE7 — Error 0x80072EE7 (Windows Update / Microsoft Store: server name could not be resolved) (Windows)0x80072EE71000 — Cloudflare Error 1000: DNS points to prohibited IP (Cloudflare)10001001 — Cloudflare Error 1001: DNS resolution error (Cloudflare)100114 UNAVAILABLE — gRPC Error: 14 UNAVAILABLE: No connection established / failed to connect to all addresses (API)14 UNAVAILABLE407 — HTTP 407 Proxy Authentication Required (HTTP)407408 — HTTP 408 Request Timeout (HTTP)408auth/network-request-failed — Firebase Auth: auth/network-request-failed — A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred (Authentication)auth/network-request-…CDN: trunk URL couldn't be downloaded — [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/... (iOS)CDN: trunk URL couldn…Could not…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.