環境変数

CLAUDE_CODE_PROXY_RESOLVES_HOSTS

1 に設定すると、ホスト名の解決を呼び出し元ではなくプロキシ側で行うように許可します。

英語原文(公式ドキュメントより)

Set to 1 to allow the proxy to perform DNS resolution instead of the caller. Opt-in for environments where the proxy should handle hostname resolution

関連する変更履歴

v2.0.55 (1件)

Fixed
Fixed proxy DNS resolution being forced on by default. Now opt-in via CLAUDE_CODE_PROXY_RESOLVES_HOSTS=true environment variable