feat: User appreciation feedback #13390
Open
+43
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix for Telemetry DNS Errors (Issue #13272)
Problem
Users experience repeated DNS errors that don't affect core functionality but clutter logs:
Occurs when Claude Code attempts telemetry connections to Datadog but encounters network restrictions, DNS failures, or connectivity issues.
Solution
Set the
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICenvironment variable (available since v2.0.17):Quick Fix
macOS/Linux:
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=trueWindows (PowerShell):
Windows (CMD):
Permanent Configuration
macOS/Linux - Add to
~/.bashrc,~/.zshrc, or~/.profile:export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=trueWindows (PowerShell) - Add to your PowerShell profile (
$PROFILE):Windows (System) - Set as system environment variable through Windows Settings → System → Advanced → Environment Variables.
What This PR Does
Adds troubleshooting documentation for telemetry DNS errors (Issue #13272):
Common Scenarios
Corporate Networks - DNS restrictions or firewall blocks
*.datadoghq.comVPN Usage - VPN blocks/redirects DNS queries to monitoring services
Offline/Air-gapped - Limited or no internet connectivity
Related Environment Variables
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICCLAUDE_CODE_PROXY_RESOLVES_HOSTSHTTP_PROXY/HTTPS_PROXYNO_PROXYTesting
Verified on Windows 11 (PowerShell 5.1)
Cross-platform commands validated
Environment variable behavior confirmed
References