spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

Merge pull request #5872 from backpaper0/remove-cname-on-domain-ip-resolutionBrowse files
fix: improve DNS resolution in firewall script to filter CNAME records
ant-kurt authored on Aug 19, 2025 · GitHub committed on Aug 19, 2025 parents da6d2f7 + eb48d5e · commit a3620cdd0ba8
1 changed file+1 -1compared with da6d2f7
M.devcontainer/init-firewall.sh
@@ -71,7 +71,7 @@
7171 "statsig.anthropic.com" \
7272 "statsig.com"; do
7373 echo "Resolving $domain..."
74- ips=$(dig +short A "$domain")
74+ ips=$(dig +noall +answer A "$domain" | awk '$4 == "A" {print $5}')
7575 if [ -z "$ips" ]; then
7676 echo "ERROR: Failed to resolve $domain"
7777 exit 1