{
  "id": "go/http-client-do-error",
  "signature": "Get \"http://example.com\": dial tcp: lookup example.com: no such host",
  "signature_zh": "获取 \"http://example.com\"：拨号 tcp：查找 example.com：没有这样的主机",
  "regex": "Get\\ \"http://example\\.com\":\\ dial\\ tcp:\\ lookup\\ example\\.com:\\ no\\ such\\ host",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "DNS resolution failed; the hostname does not exist or DNS server unreachable.",
  "root_cause_type": "generic",
  "root_cause_zh": "DNS 解析失败；主机名不存在或无法访问 DNS 服务器。",
  "versions": [
    {
      "version": "1.20",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May not be static; breaks if IP changes.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "DNS issue persists; retries fail.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.8,
      "how": "Use custom DNS resolver: net.Resolver{PreferGo: true, Dial: ...}",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Check error type: if dnsErr, ok := err.(*net.DNSError); ok { handle }",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.83,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-02-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}