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

fix: improve DNS resolution in firewall script to filter CNAME recordsBrowse files
Uragami Taichi authored on Aug 15, 2025 parent fc8c109 · commit eb48d5e4a80a
1 changed file+1 -1compared with fc8c109
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