[BUG] installer dns resolution fails due to hardcoded dns server

Open 💬 3 comments Opened Jul 1, 2026 by Pyrolistical

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

claude code installer fails on linux 7.0.14-arch1-1 as it attempts to resolve dns using localhost:53

What Should Happen?

instead of using non-existing dns server localhost:53 it should use the system resolver

Error Messages/Logs

Installation failed

Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest after 3 attempt(s):
 getaddrinfo ETIMEOUT downloads.claude.ai

Steps to Reproduce

  1. curl -fsSL https://claude.ai/install.sh | bash

Claude Model

_No response_

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

claude-2.1.197-linux-x64

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Xterm

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗